Hi all, is there a way, and how, to specify that “.liquid” is the file extension instead of the usual “.md” for markdown files? I have Liquid support in RubyMine but as far as I know it only works if the file extension is .liquid. I’d rather keep the default .md extension but the IDE support is also very helpful. Any suggestions? Thanks in advance!
Add a permalink with e.g. /foo/ or /foo.html or /foo.json anything in your .liquid file
--- permalink: /foo/ ---
I tried that but the content wasn’t recognized as markdown.
--- Permalink: /405.html --- # Hello ## There
# Hello ## There
Aha. Perhaps a limitation of Jekyll. So you’ll have to write your content as HTML.
Or go back to go .md which is common for Jekyll sites and configure your IDE to treat .md as liquid.
In VS Code I configure
.md to be treated as “Jekyll (HTML)” because it supports better highlighting than the “Liquid” setting.