Skip to content

Indentation in non-HTML documents #91

@gdude2002

Description

@gdude2002

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.

image

Hitting enter at the end of this line places the caret on the next line, indented to a depth of one.

image

Pressing enter again places the caret at on the next line, but without an indent, leaving the indent present on the previous line.

image

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?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions