Git Product home page Git Product logo

gatsby-markbook's Introduction

Markdown Book

This is modified from gatsby-default-starter. Support some features I required for lots of my markdown key note files.

  • $\LaTeX$ (with $\KaTeX$ and gatsby-remark-mathjax, no server rendering thougth)
  • Graphviz (via gatsby-transformer-graphviz)
  • Using Typography.js Themes (https://kyleamathews.github.io/typography.js/)
  • Code Highlight (.md via gatsby-remark-vscode, .mdx via primjs)
  • GeoGeBra Component to load and show GeoGeBra graphic much faster than iframe.
  • A simple filter to find the markdown pages by keyword. It's important for ppl like me who got tons of markdown files as notes.

Demo Site : https://markbook.netlify.com

GitHub Source

https://github.com/RintarouTW/gatsby-markbook

Screen Shots

Code Highlight

Screen Shot - Code Hightlight

Graphviz

Screen Shot - Graphviz

LaTeX

Screen Shot - LaTeX

Netlify Deployment

Netlify Status

  1. Fork this repository (https://github.com/RintarouTW/gatsby-markbook) to your own account.
  2. Goto https://app.netlify.com/ and click on the New Site from Git button.
  3. Choose your forked respository and deploy it. (All default setting is good. nothing to change.)
  4. Wait for 2min and 32 seconds, your site would be alive just like my demo site.

Local Installation

You can see this as another gatsby starter project with the features listed above, so u don't need to start from scratch.

npm install -g gatsby-cli

gatsby new gatsby-markbook https://github.com/RintarouTW/gatsby-markbook.git
  
# It is even better to use the forked repository on your account.

cd gatsby-markbook

gatsby develop

# or production build

gatsby build
gatsby serve

Test

  1. Browse http://localhost:8000/
  2. Click on Test page (which is src/pages/Test.md)
  3. Check src/pages/Test.md for the usage example for $\LaTeX$, Graphviz, code highlight and more.
  4. Put your .md files to src/pages/ and they would be presented right away.

Commit and Auto Publish to Netlify

If you had your Netlify deployed on the forked repository, any time you add/modify .md files to src/pages/, commit and push, Netlify will get notified, update and publish automatically. So, push your commit means publish to Netlify automatically. 100% Focus on the content writing feels really good.

Enjoy it.

gatsby-markbook's People

Contributors

rintaroutw avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.