sublime-markdown-extended icon indicating copy to clipboard operation
sublime-markdown-extended copied to clipboard

Allow to configure custom block levels

Open oscarotero opened this issue 8 years ago • 1 comments

Hi! In my projects, I'm using markdown-it-container allowing to create block-level custom containers within markdown. The markup syntax is the same as for fenced code blocks. Difference is, that marker use another character and content is rendered as markdown markup. As an example:

This is a paragraph

:::block
This is a custom container block
:::

This is another paragraph.

I'd love to have a way to configure these new blocks, defining the character used. For example:

container_chars: [':']

Thank you for this great project.

oscarotero avatar Jan 09 '17 08:01 oscarotero

This is an interesting idea, I'd be open to it if someone else wanted to do a pr for it, and there were some kind of tests implemented (fwiw this is what holds up virtually every decision I make on this lib. I'm not familiar with ST enough to have confidence in code changes without tests).

jonschlinkert avatar Mar 02 '17 08:03 jonschlinkert