I'm developing a website using the MEAN stack framework and wanted to know if there is any way I can dynamically render a Markdown page that lives on a Github repository.
I don't want to redeploy the site every time a change is made to the Markdown file.
Use GitHub Pages: push to the
gh-pages
branch and GitHub will do the markdown to HTML conversion and serve you the HTML (not rate-limited) athttp://yourusername.github.io/yourrepo
. Just make an HTTP call to that address to fetch your content.If you want to do the Markdown to HTML conversion yourself, fetch the Markdown via RawGit.