20
votes
Markdown live preview for Tildes
Hacked together a simple markdown live preview, which works for both comments and also new posts submission.
To use, just install the extension and start typing on Tildes, you will see live preview. No settings to configure.
The code is open source and released under MIT. I am not really a JS dev, so any feedback is welcome.
Chrome extension - link
Firefox addon - link
Source code - link
You should probably disable table rendering for now, since Tildes doesn't support it:
also, stuff like this renders in the preview, which isn't great:
<marquee>wheeeeeeeeeeee</marquee>
You've just given me horrid flashbacks from the Netscape Navigator days.
<BLINK>
The good ol' days</BLINK>
strikethroughas well.Oh man that's awesome!
I've wrote and extension as well, if you'd like I'll love for you to add a pull request so we could keep all features together. I don't mind sharing the project as well, just let me know :)
My next steps would be users labels (like res but simpler to begin with) and some formatting bar for the comments :)
Not working with nested comments unfortunately, only top level ones like this one.
Thank you for the bug report! I had not tested it for nested comments. I have updated the extension with the bug fix :)
Nicely done! I was wishing for this a few hours ago. Here's a screenshot of it in action on Opera Developer (Chrome).
Yay many thanks OP, it seems to be working as intended on my end in Chrome.