-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I'm currently working on a project that makes use of a custom SSG (static site generator) to generate a website from Markdown and HTML files, all of which may be Pebble templates. When the directory containing the site's sources is set up via IJ's template language settings as containing Markdown-formatted Pebble templates, and the files end in .md.peb
, the way indentation is handled in the files is… strange, to say the least.
As an example, in a document with no Pebble syntax whatsoever, let's create a partial sentence on a single line.
Hitting enter at the end of this line places the caret on the next line, indented to a depth of one.
Pressing enter again places the caret at on the next line, but without an indent, leaving the indent present on the previous line.
This is frustrating to work with as, when writing documents in a format such as Markdown, I constantly have to dedent lines.
Any ideas on this one?