Skip to content

Instantly share code, notes, and snippets.

@dariusk
Created January 15, 2020 16:53
Show Gist options
  • Save dariusk/580adc2234243a344069c742f4d41cfd to your computer and use it in GitHub Desktop.
Save dariusk/580adc2234243a344069c742f4d41cfd to your computer and use it in GitHub Desktop.
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