dundalek / atom-markdown-mindmap

Visualize markdown files as mindmaps in Atom editor
Other
117 stars 31 forks source link

Icons, bold, italics? #50

Open jkamenik opened 4 years ago

jkamenik commented 4 years ago

Seems like it isn't supported it would be nice to render icons as well as bold and italic text. I usually use representative icons to quickly visualize similar to important info. Bold to call attention to a phrase, and italic to denote a "comment".

Like this

# Header

- ![alt text][shield] some important note
- some **bolded** note
  - *interesting fact*

[shield]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "shield"
dundalek commented 4 years ago

Yeah, only plain text is supported inside nodes. This request is similar to https://github.com/dundalek/atom-markdown-mindmap/issues/35. The tricky part is mixing HTML with SVG, but it might be possible using foreignObject.