• Most votes
  • Most comments
  • Newest
  • Activity
  • Showing only topics in ~tildes with the tag "markdown". Back to normal view / Search all groups
    1. I'm new to Tildes, but I've been using Markdown-based comment systems for more than a decade: both Reddit and GitHub. My programming blog has been written in Markdown for the past 8 years. Overall...

      I'm new to Tildes, but I've been using Markdown-based comment systems
      for more than a decade: both Reddit and GitHub. My programming blog has
      been written in Markdown for the past 8 years. Overall I've probably
      written several novels worth of content in Markdown in my life.

      I've already noticed that Tildes has made a serious mistake in its
      handling of line endings: All line endings are treated as hard line
      breaks
      . This diverges from CommonMark and most uses of Markdown in
      practice. If I wanted a hard line break, I'd put two spaces at the end
      of the line, as specified by both CommonMark and the original Markdown.
      Line endings should be otherwise be soft.

      GitHub made the same mistake with its "GitHub-flavored Markdown," though
      fortunately this mistake has been limited to issues. GitHub README.md
      files don't have this behavior, nor does GitHub Pages. It the only other
      Markdown system I've used with this flaw.

      Why does this matter? If I'm writing more than a single sentence, I
      never edit my comment inside my web browser. I edit it using my text
      editor of choice, Vim, since it's far more comfortable. I don't even
      have to copy-paste the text between applications. Instead, I have an
      add-on, Tridactyl, that does this seemlessly and effortlessly.

      Hard line endings just don't work well with long prose — exactly the
      type of content that Tildes is encouraging — particularly when edited in
      a proper text editor that knows about paragraphs and can do its own line
      wrapping. Editing long lines is annoying and takes extra care. That's
      why we have soft line endings after all.

      I'm leaving all my line endings in this post so that you can see the
      mess Tildes makes with it, with the ragged right-hand side due to font
      differences. If I had written this in nearly any other Markdown system,
      the text would have flowed into the page without issues. It is a mistake
      for Tildes to do differently. This sort of compatibility issue is
      probably going to be annoying enough to keep me off the site.

      22 votes
    2. I have just posted on ~sports the last results of the major European soccer leagues, but it does not show as I'd want to. I read the Formatting help page, but I did not find an aswer to my...

      I have just posted on ~sports the last results of the major European soccer leagues, but it does not show as I'd want to. I read the Formatting help page, but I did not find an aswer to my question, so if someone would like to help I'd appreciate it.

      Basically I would like the post to look like this: Imgur link, but in the end it looks like the spaces I put in there do not show as you can see here: Imgur link.

      Is there any way to make the post looks like what I want? I read about the Tables section in the Formatting help page, but I do not need a bold header row, which looks like a requirement for a table.

      Thanks in advance for the help

      7 votes
    3. Previously, the only way to do strikethrough or tables on Tildes was by using HTML. I've updated the markdown parser now so that it supports the methods of doing them through markdown. The...

      Previously, the only way to do strikethrough or tables on Tildes was by using HTML. I've updated the markdown parser now so that it supports the methods of doing them through markdown. The Formatting help page on the docs has been updated as well with info about how they work.

      I don't think there should be any conflicts between strikethrough and linking to groups, but it's possible that there are some weird edge cases, so please let me know if you notice anything. Generally, strikethrough requires you to have a tilde (or multiple) both before and after the text you want to strike out, whereas group links will only have it before. So something like This ~should work~ doesn't work will result in should work instead of a link to a group named ~should.

      69 votes
    4. Markdown

      So I've been having a slightly off-topic discussion on a thread here and figured this would be a good subject to have wider input on. I don't think markdown adds anything to Tildes and I think it...

      So I've been having a slightly off-topic discussion on a thread here and figured this would be a good subject to have wider input on.

      I don't think markdown adds anything to Tildes and I think it actually degrades the experience for new users. Right now we're mostly old experienced reddit users and mods, but that hopefully will change. To me, markdown adds a not insignificant hurdle to formatting. Markdown has very few uses besides reddit and Github, and even then there's a few different types.

      I suggest a WYSIWYG text box with a tabbed HTML option for those who want to use code formatting. Let's use something that's standard and encourages users to learn useful code.

      Tell me why I'm wrong Tildes!

      Edit: I primarily use mobile, so maybe that's part of the disconnect here. But it seems I'm the only person who cares and still thinks markdown is almost useless. I'm fine being in the minority. I still feel it's a good idea to look beyond the bleeding edge to the time when there's 300,000 or 3,000,000 uses.

      Have a good day everyone!

      14 votes
    5. 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...

      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

      20 votes
    6. I don't think this is super high priority, but it'd be nice to be able to escape the ~ or @ symbols so that something isn't automatically turned into a link to a group/user. For example, I noticed...

      I don't think this is super high priority, but it'd be nice to be able to escape the ~ or @ symbols so that something isn't automatically turned into a link to a group/user. For example, I noticed in a comment I made that ~ers gets automatically turned into a link to the non-existent 'ers' group. I think if I write \~ers then it should not be linked. (E.g. ~ers)

      12 votes
    7. I'm not sure if it's a vanilla reddit feature or if it comes from RES, but I've become reliant upon the preview that shows up under a comment box that renders your response through markdown so you...

      I'm not sure if it's a vanilla reddit feature or if it comes from RES, but I've become reliant upon the preview that shows up under a comment box that renders your response through markdown so you can see the formatting before you post it. This doesn't need to be real-time, since that would likely detract from the "lightweight" technical goal, but I feel like it might be useful

      11 votes
    8. Markdown editing can be frustrating for some, and can be time consuming. A UI where the user simply clicks, types, then clicks again to end the formatting will be necessary, especially for those...

      Markdown editing can be frustrating for some, and can be time consuming. A UI where the user simply clicks, types, then clicks again to end the formatting will be necessary, especially for those on mobile.

      I'm unsure as to if a solution to this is already in the makings or not, but I made 2 options that would fit in with the current design for posting text.

      On the side seems like it would flow well, and is easy to read.

      On the bottom next to "Post comment" allows for many more options for markdown, even color (if that's possible).

      Anyone else could make their own version of this and share it, just to get ideas out there.

      4 votes