Open dannysmith opened 4 years ago
https://github.com/dannysmith/dannyis-jekyll/commit/9f6d15db0ed7ea58793a8dec1c32f1ef31f1213b introduces a hack in _posts/2020-03-14-website-redesign-i.md which replaces all markdown links with a responsive image tag.
It uses simple REgEx to do so which is super hacky and horrible.
It also leads to bugs because it parses code inside fenced code blocks. Thus, any markdown image markup inside a code block will be replaced with a liquid tag.
https://alexgude.com/blog/custom-markdown-for-github-pages/ ?
Alex GudeMaking Custom Markdown for Github PagesI love Markdown, I take all my notes in it and write my blog in it. But sometimes you want to create new syntax; read on to find out how!
https://github.com/dannysmith/dannyis-jekyll/commit/9f6d15db0ed7ea58793a8dec1c32f1ef31f1213b introduces a hack in _posts/2020-03-14-website-redesign-i.md which replaces all markdown links with a responsive image tag.
It uses simple REgEx to do so which is super hacky and horrible.
It also leads to bugs because it parses code inside fenced code blocks. Thus, any markdown image markup inside a code block will be replaced with a liquid tag.