Git Product home page Git Product logo

applied-productdev's Introduction

Publish Obsidian Notes with MkDocs (template)

Would you like to make some of your Obsidian notes public?

This template gives you an easy way to publish your Obsidian notes on your Github pages.

With this template, you get these out-of-the-box:

  • an awesome website based on Material theme, complete with a search bar (Checkout this template published here)
  • get the Obsidian/Roam style [[wikilinks]] from your vault in your published notes
  • Toggle between light and dark mode

How to get started?

  1. Create a new github repository using this template
    • In this step, give a name to your repository. By default your notes will be published at <https://username.github.io/repo-name/>
    • You need to copy only the main branch while create the repo from the template
  2. Clone the repository you generated into your Obsidian folder/vault.
  3. Move the notes you would like to make public to the repo-name/docs folder.
    • Easiest way to do this would be using drag and drop within Obsidian
  4. Commit and push the changes. Github actions will publish your notes using MkDocs, with the Material theme.

Not working for you? Open an issue and let me know what went wrong.

Configuring your website

How do I arrange notes as sections and pages?

By default, the sections and pages will follow the folder structure within /docs. The folders and sub-folders will show up as sections. Try not to have white spaces in your folder and file names, as these will be converted to HTML links. The webpage heading will be the same as the first-level heading in the markdown note.

  • If you would like to arrange the pages manually, then use the nav option in the mkdocs.yml configuration file at the root of this repo to set custom page navigation.
    • For example, see the setup for the Blue Book at github. Managing each page using nav can become cumbersome as the number of notes increase though!
  • The Materials theme provides multiple options to arrange sections, use navigation tabs, and many other helpful navigation setups

Alternatives

applied-productdev's People

Contributors

richardbowman avatar

Watchers

 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.