Skip to content

Instantly share code, notes, and snippets.

@dariusk

dariusk/notes.sh Secret

Created April 22, 2024 16:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dariusk/0bf5fb8baffef33db61f2fcce87b761e to your computer and use it in GitHub Desktop.
Save dariusk/0bf5fb8baffef33db61f2fcce87b761e to your computer and use it in GitHub Desktop.
My blogging software
echo "<!DOCTYPE html> <html lang=\"en\"> <head> <meta charset=\"utf-8\"> <title>${PWD##*/}</title> <meta charset=\"UTF-8\"> <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> <link rel='stylesheet' href='../css/style.css' type='text/css' media='all' /> </head> <body><p><a href=\"..\">&larr; Tiny Subversions</a></p>" > index.html
marked --gfm -i index.md >> index.html
echo "<script src=\"../js/highlight.pack.js\"></script><script>hljs.initHighlightingOnLoad();</script></body></html>" >> index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment