Brickster / pretty-markdown

Sublime Text plugin for beatifying a markdown file when saving.
MIT License
0 stars 0 forks source link

Support multiple reference link definition formats #23

Open Brickster opened 10 years ago

Brickster commented 10 years ago

Support multiple title definitions:

[foo]: http://example.com/  "Optional Title Here"
[foo]: http://example.com/  'Optional Title Here'
[foo]: http://example.com/  (Optional Title Here)

Support angle brackets for links:

[id]: <http://example.com/>  "Optional Title Here"

Titles on newlines:

[id]: http://example.com/longish/path/to/resource/here
    "Optional Title Here"

Note: the extra spaces/tab for the title line should be optional.