Re:Show HN: WYSIWYG-editing Markdown with Hallo Editor
by okal on Tuesday March 27, 2012 @03:05PM
(#3763097)
I thought the whole appeal would be the fact that it's WYSIWYG. Wouldn't a one way md-to-html transformation preclude that?
[ Parent
| on HN ]
Re:Show HN: WYSIWYG-editing Markdown with Hallo Editor
by wvl on Tuesday March 27, 2012 @06:43PM
(#3763847)
I probably didn't explain that well. There are plenty of non wysiwig markdown editors out there. The appeal of this demo is that you're editing the markdown source through a wysiwyg editor. However, with this demo, there are two authoritative sources of content, the html in the contenteditable, and the markdown. I'm arguing that there should only be a single authoritative source of content; and I'd like that to be markdown. I think it's possible, though difficult.
Re:Show HN: WYSIWYG-editing Markdown with Hallo Editor
by bergie on Wednesday March 28, 2012 @03:38AM
(#3765173)
You could treat the HTML version as temporary and Markdown as "master". I was considering to do the demo that way - having the original source in the Markdown textarea, and generating the HTML from it before loading the editor.
Re:Show HN: WYSIWYG-editing Markdown with Hallo Editor
by true_religion on Tuesday March 27, 2012 @08:56PM
(#3764196)
You mean like a WYSIWYG editor for markdown?
There's pagedown which is used on Stackoverflow.