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

9 comments

  1. [4]
    unknown user
    Link
    You should probably disable table rendering for now, since Tildes doesn't support it: this is totally a table 1 2 3 also, stuff like this renders in the preview, which isn't great:...

    You should probably disable table rendering for now, since Tildes doesn't support it:

    this is totally a table
    1 2 3

    also, stuff like this renders in the preview, which isn't great:

    <marquee>wheeeeeeeeeeee</marquee>

    3 votes
    1. [2]
      Stone-D
      Link Parent
      You've just given me horrid flashbacks from the Netscape Navigator days.

      <marquee>

      You've just given me horrid flashbacks from the Netscape Navigator days.

      3 votes
      1. unknown user
        Link Parent
        <BLINK>The good ol' days</BLINK>

        <BLINK>The good ol' days</BLINK>

        2 votes
  2. crius
    Link
    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,...

    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 :)

    3 votes
  3. [2]
    Stone-D
    Link
    Not working with nested comments unfortunately, only top level ones like this one.

    Not working with nested comments unfortunately, only top level ones like this one.

    2 votes
    1. tcp
      Link Parent
      Thank you for the bug report! I had not tested it for nested comments. I have updated the extension with the bug fix :)

      Thank you for the bug report! I had not tested it for nested comments. I have updated the extension with the bug fix :)

      3 votes
  4. silva-rerum
    Link
    Yay many thanks OP, it seems to be working as intended on my end in Chrome.

    Yay many thanks OP, it seems to be working as intended on my end in Chrome.