bevacqua / woofmark

:dog2: Barking up the DOM tree. A modular, progressive, and beautiful Markdown and HTML editor
https://bevacqua.github.io/woofmark
MIT License
1.62k stars 74 forks source link

Config option for non-footnoted image markdown: ![a.jpg](/a.jpg) #63

Open jywarren opened 6 years ago

jywarren commented 6 years ago

Current default in markdown mode is to insert:

![image description][1]

Then at the bottom of the doc:

[1]: http://url.com/image.jpg "image.jpg"

This is well-formed markdown but for many purposes this disrupts page flow - for example in inline-markdown-editor which is using woofmark for subsections of a larger document.

I'd like to propose that the default be the all-inline, all-one-line version:

![image.jpg](http://url.com/image.jpg)

Failing that, that we at least allow configuration of this.

Where is this code living? Would it be in megamark config, or bureaucracy? Or can we set this in Woofmark alone?

Thanks!