Skip to content

Repository to collect my notes, build static HTML documentation using MkDocs-Material, and publish them on (GitHub for now) Pages

Notifications You must be signed in to change notification settings

SebastianErfort/notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Repository to collect my notes, build static HTML documentation using MkDocs-Material, and publish them on (GitHub for now) Pages.

Sources are incorporated as Git submodules.

To Do

  • trigger build from notes Markdown repo instead of schedule

  • transfer Markdown+YAML linters to stand-alone repo and use them for pre-commit hooks (Git or pre-commit framework)

  • ensure Nerd Font is available in online version

  • style internal and external links differently - use Javascript to classify, e.g.

    document.querySelectorAll('a').forEach(link => {
        const url = link.href;
        if (url.includes('http')) {
            link.classList.add('external-link');
        } else {
            link.classList.add('internal-link');
        }
    });

    or with CSS

    a[href^=http] {
        /* external link style */
    }
    a[href^=http]::after {
        /* external link icon */
    }

Alternatives

  • ObsidianPublisher: I used the mkdocs-publisher-template to improve and extend my MkDocs based solution
  • Quartz

    Quartz is a fast, batteries-included static-site generator that transforms Markdown content into fully functional websites. Thousands of students, developers, and teachers are already using Quartz to publish personal notes, websites, and digital gardens to the web.

    • issues
      • No navigation sidebar? How do you get an overview of contents other than manually creating maps of content and using the graph view?

About

Repository to collect my notes, build static HTML documentation using MkDocs-Material, and publish them on (GitHub for now) Pages

Topics

Resources

Stars

Watchers

Forks