5 ms·
Thanks for pointing that out. I was under the impression that Pelican's Markdown parser automatically used typographic quotes vs straight quotes, but that's app
by Eiriksmal 8y ago
Thanks for pointing that out. I was under the impression that Pelican's Markdown parser automatically used typographic quotes vs straight quotes, but that's apparently not the case.
Edit: Ah, it's an extension to Python-Markdown that is not enabled by default: https://python-markdown.github.io/extensions/smarty/ https://python-markdown.github.io/extensions/smarty/
- detritus 8y agoAh, much more developed than I — I maintain a site that has a font similar to yours and I need to manually amend each and every typographic conceit. Not smart!
- Eiriksmal 8y agoNo worries! There's always room for improvement. Though my site now automatically swaps in [0] the correct typographic quotes (thanks again!), I still have to manually add <section>s and the HTML for the sidenotes, instead of using some kind of Markdown conceit that gets automatically translated when the site is compiled. :) [0] https://github.com/Eiriksmal/lawler-dot-io/commit/593d3471e66d3f5818f4c37f6e836d5c2daf3d76 https://github.com/Eiriksmal/lawler-dot-io/commit/593d3471e6...