SublimeText-Markdown / MarkdownEditing

Powerful Markdown package for Sublime Text with better syntax understanding and good color schemes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undesired folding

glow12121 opened this issue · comments

After the plugin was installed, a lot of undesidered things started to be getting folded.

For example, in this line anchor and the second image are automatically replaced with three dots. As I click on the dots, the text unfolds. I click on something else - it folds again.

[![image alt text](image url link)](anchor link)

In this line, the web address is folded and replaced with three yellow dots.

[Author](https://www.amazon.com/long-address)

How can I only make the plugin fold headlines - and only manually, on my command?

// MarkdownEditing (Folding):
// Enable automatic folding of url parts of inline references or images
"mde.auto_fold_link.enabled": true,
// MarkdownEditing (Folding):
// Selector for urls to automatically fold
"mde.auto_fold_link.selector": "( meta.image.inline.metadata.markdown | meta.image.reference.metadata.markdown | meta.link.inline.metadata.markdown | meta.link.reference.metadata.markdown ) - punctuation.definition.metadata",

Many thanks, @deathaxe !