• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "markdown". Back to normal view
    1. Is there a markdown editor which let me open .md files from Windows?

      I have looked at various editors, but those I came across all had their own build-in file navigator which they insisted you'd use. I always hate that; it's the one thing I dislike about Godot. So...

      I have looked at various editors, but those I came across all had their own build-in file navigator which they insisted you'd use. I always hate that; it's the one thing I dislike about Godot. So is there one where you can simply open your .md files directly from Windows?

      Edit: What I'm after is WYSIWYG, not just synstax highlighting.

      20 votes
    2. Markdown helpers for the comment block

      I submit a lot of posts from mobile, and I find some of the markdown tedious to enter on a mobile keyboard. I know JavaScript is supposed to be a last resort, but I'd really like to have some...

      I submit a lot of posts from mobile, and I find some of the markdown tedious to enter on a mobile keyboard. I know JavaScript is supposed to be a last resort, but I'd really like to have some assistance in the post authoring and comments fields.

      I assume this could be a user script. Looking at the wiki, it looks like none of the current ones do this.

      Thoughts on this? Things people are already using? Ideas for existing tools to build on? Would it be better as a user script or as a feature of the main site, perhaps with an option to disable it? I'm medium at JavaScript but would happily take a crack at it.

      Here is my inital feature list:

      • link button - select text, press the link button, get a prompt for the URL, replace the selected text with the markdown formatted text and URL.
      • quote block- select multiple paragraphs and click the button to block quote them all
      • bold, italic, strike though buttons - apply the markdown to selected text
      • spoiler - insert a details block at the cursor. If text is selected wrap it in a details block and prompt for the summary.

      if I were to develop it, what else would people like to see on this list?

      18 votes
    3. [SOLVED] Can someone please share how to make links look clean?

      Many people here have a skill for converting a url from a mishmash of sloppy looking text into something that looks like a clean line but that is clickable and works like a link. Can someone...

      Many people here have a skill for converting a url from a mishmash of sloppy looking text into something that looks like a clean line but that is clickable and works like a link. Can someone please explain?

      18 votes
    4. Tildes and comment formatting, markdown: a quick and dirty guide

      At the suggestion of a certain heathen who shall remain unnamed. I'm tossing up a quick and dirty comment (and post text) formatting guide. There is a formatting guide in the docs/wiki with a link...

      At the suggestion of a certain heathen who shall remain unnamed. I'm tossing up a quick and dirty comment (and post text) formatting guide. There is a formatting guide in the docs/wiki with a link just above the comment box, but it can be a bit much to digest.

      *italics*
      **bold**
      ~~strikethrough~~
      [Text goes here](URL goes here)
      <small>small text</small> 
      <sub>subscript</sub>
      <sup>superscript</sup>
      # headline
      `code which removes the formatting and makes it look like this block`
      * bulleted
      * lists
      1. and
      1. numbered
      1. lists
      

      Spoilers is a bit more complicated, the <details> start and end </details> is required, but the <summary> start and end </summary> is not unless you want text in the summary or you want the summary to be blank.

      <details>
      <summary>Summary text!</summary>
      
      Body text inside spoiler!
      </details>
      
      For example if you leave out the summary code then the box just says "Details" like this.
      Or you can have a summary...

      ...like this.

      Or by leaving the text between the summary code blank you can have the box be empty but still have spoiler text within

      You can use formatting like bold, italics, or even...
      ...spoilers within spoilers! ...but you have to leave an extra line above this or it *won't work* and your formatting will be revealed to **all!**

      Three underscores (or dashes, but dashes require an extra line) in a row on their own line creates a blank line to divide a topic...
      ---

      You also have a sub-headline text option by putting a single dash under text...
      -
      ...or headline text by putting an equal sign under text.
      =


      If you like userscripts (who doesn't?) you can install extensions like ViolentMonkey that allow you to install little bits of code like the Tildes Formatting Toolbar that can change/improve the sites you use and make formatting here a breeze.


      Do use the formatting responsibly, but here are examples for bold, italics, strikethrough, links, small text, subscript, superscript,

      headline text,

      sub-headline text,

      code,

      • bulleted
      • lists,
      1. and
      2. numbered
      3. lists

      Most formatting can be combined as well such as superscripts, lines, and small text to make...

      ...sentences with a...1


      1...footnote

      97 votes
    5. Line break inside block quote markdown (Reddit)

      Stupid question: How do I create a line break between two sections of block quotes in markdown (doing this for a Reddit comment)? The methods I’ve tried all show up in the text, and I want them to...

      Stupid question: How do I create a line break between two sections of block quotes in markdown (doing this for a Reddit comment)? The methods I’ve tried all show up in the text, and I want them to be invisible.

      3 votes
    6. Table of contents - markdown

      I generated markdown with a table of contents which is auto-generated on Emacs. I tested it on https://rentry.co and it works fine. On Tildes the links don't work. Is there a way to make this...

      I generated markdown with a table of contents which is auto-generated on Emacs. I tested it on https://rentry.co and it works fine. On Tildes the links don't work. Is there a way to make this work? It would be nice to have that for longer posts. Thanks!

      7 votes
    7. IMO the text used for formatting/markdown shouldn't count towards the character limit in user bios

      I made a new bio recently and here been tweaking it for a while and hit the 2000 character cap and messed with some of the formatting and wording for it to fit in. Thing is, you don't read...

      I made a new bio recently and here been tweaking it for a while and hit the 2000 character cap and messed with some of the formatting and wording for it to fit in.

      Thing is, you don't read markdown formatting. My bio has quite a bit of formatting and the text with the formatting is ~1960 characters, but the text you read is only ~885 characters (according to word counter), or less than half that. I feel like that's not how it should work.

      8 votes
    8. Really specific formatting bug? Putting 2 "larger than" (quote trigger) characters separated by a paragraph break in a codeblock will add an extra "larger than" character between them.

      To simplify the title: (Formatted text, no space. (Behind the arrows.) While it's expected for quote blocks to not separate with one 'line' between them, it's definitely not expected for the block...

      To simplify the title:


      (Formatted text, no space. (Behind the arrows.) While it's expected for quote blocks to not separate with one 'line' between them, it's definitely not expected for the block to be the same size, even w/o text.)


      (Formatted text, with a space. Added this one in to contrast with Preformatted w/ space and because it separates the code blocks.)


      >
      >
      >
      

      (Preformatted/Codeblock text, no space. The "quote trigger" arrow in the middle is the bug, since if you look at the "view markdown" option of this post you'll realize that arrow shouldn't be there.)


       >
      
       >
      

      (Preformatted/Codeblock text, with a space. This is how I personally fix the bug, if it is that. You can also fix it by typing space into the phantom arrow.)




      Now with text inside the quote blocks, for comparison. (And because quoteblocks have to quote something.):

      qwerty

      asdf

      (Formatted text, no space. Here the block expands normally for the text.)


      qwerty

      asdf

      (Formatted text, with a space.)


      >qwerty
      >
      >asdf
      

      (Preformatted/Codeblock text, no space. The arrow in the middle I never typed in is still there.)


       >qwerty
      
       >asdf
      

      (Preformatted/Codeblock text, with a space.)

      8 votes
    9. Simplified markdown to </avoid> typing <this> type of text?

      I'm complaining mainly because <these> 2 keys tend to be in the symbols tab on a mobile keyboard and are really annoying to keep going back from and to while making something like a <details> box....

      I'm complaining mainly because <these> 2 keys tend to be in the symbols tab on a mobile keyboard and are really annoying to keep going back from and to while making something like a <details> box.

      Some replacements I imagine (0 programming knowledge) could be:

      >small text here< ( for > to not make quotations at the beginning you could maybe put some unrelated character like ) or ] before it)

      ^superscripted text here/ (or you could just use parentheses to delineate which text is formatted like on reddit and probably all normal places)

      _subscripted text here_ (admittedly I know this messes with underscore being equal to asterisks in formatting, but I don't know which key you could use avoid this that still is intuitive)

      
      {Details
      [Summary text here]
      
      Details text here}
      
      

      Replace the <details> prompt with { and </details> with } and presumably everything should work, right? (The brackets can have the summary functionality limited to within the details box because they're encased within the curly brackets? Admittedly I don't really know.)

      7 votes
    10. First release of my native Markdown notes app, Notementum (v0.1.0)

      Screenshot I posted a few days ago about a notes app I was working on called Notementum, and I'm happy to show you the first release (0.1.0). Installation instructions are available on the Github...

      Screenshot

      I posted a few days ago about a notes app I was working on called Notementum, and I'm happy to show you the first release (0.1.0). Installation instructions are available on the Github repo: https://github.com/IvanFon/notementum

      There's still lots of things I'd like to add, both big and small, and definitely a few bugs here and there, but I've been going for too long without sharing it, and I find it's best to release as early as you can to start getting feedback, and perfect it later.

      One things that's missing is documentation. I'd like to start on this soon, but I'm probably not going to share this anywhere other than Tildes just yet, so this comment will do for now :)

      Right now, the app only runs on Linux. I'd like to add Windows support, and it almost works, the problem is that WebKit2Gtk, the embedded web view I use to show note previews, doesn't support Windows. I'm going to explore some other options in the future, whether that's figuring out how to compile it, or allowing other preview methods (user's web browser, PDF, etc.).

      The app is also very much in alpha, so you shouldn't use this for anything important, there may be bugs that can cause you to lose some of your data. If you do use this for anything, make sure you backup your notes database.

      If you want to use it, here's a wall of text on usage:

      Usage

      The notes database is located at ~/.notes.db. When you launch the app, it'll load it, or automatically create it if it doesn't exist. I'd eventually like to allow choosing different locations, but it's hard coded for now.

      The interface is fairly simple. The leftmost sidebar displays a list of notebooks, and the "middlebar" displays a list of notes. Selecting a notebook will display the notes within it in the notes list. Selecting a note will open it in the editor, which is to the right.

      To create a new note, press Escape to focus on the searchbar above the notes list, and start typing a title. If no existing notes are found, press enter, and a note will be created with the title you entered.

      To rename a note, double-click on it in the notes list.

      The editor has a toolbar with 4 buttons, from left-to-right:

      • Toggle between editor and preview (shortcut: Ctrl+E)
      • Assign the current note's notebook
      • Add an attachment
      • Delete the current note

      The green circle all the way to the right turns into a loading indicator when you have unsaved changes. Once you stop typing for a few seconds, your changes will be saved, and it'll switch back into a green circle.

      Notebooks

      Notebooks aren't created directly, they're based on what notebooks your notes are assigned to. This means that, to create a notebook, assign it to a note. To delete a notebook, just delete all the notes contained within it, or assign them to a different notebook.

      Clicking on the notebook toolbar button brings up this dialog. To create a new notebook, double click on <New notebook> and type in a name.

      Attachments

      The notes database also stores attachments. This means that the entirety your notes can be contained in your database. Clicking on the attachment toolbar button brings up this dialog. The toolbar allows you to upload an attachment or delete it respectively. Pressing Insert Selected will insert the image at your cursor in the editor (![](image.png)).

      Theme

      The screenshots show the app with my desktop Gtk theme, Arc Dark. On your desktop, it'll use whatever your theme is. It should look good with any Gtk theme, but at some point I may bundle Arc Dark with it.

      The note preview currently has it's colours hard coded to look good with Arc Dark, so it may look a bit off on other themes. I'll try to sort that out at some point.

      Planned features
      • load/save database to/from different path
      • Windows support
      • note exports
      • database encryption
      • changing syntax highlighting theme
      • note tags
      • full-text search
      • proper documentation
      • more keyboard shortcuts
      • integrated sync
        • although you should already be able to use Git, Synthing, Dropbox, etc.
      • Vim mode for editor
        • maybe somehow embed a terminal to allow using vim/emacs/whatever
      Boring technical stuff

      The app was made with Python and Gtk+ 3. I've done this before and I really enjoy the development experience, especially with Glade to design the interface. There are still some Gtk features that I should really be using to make things simpler (GtkApplication, actions, and accelerators) that I'll be adding later.

      The database uses sqlite 3. This is convenient, as it allows for storing everything in one file, and will make fast searches easier in the future. Attachments are stored as base64 directly in the database. This makes it easy to have all your notes be contained entirely in the one database, but I may have to think about a more efficient method in the future.

      Markdown rendering is done using mistletoe, which has been great to use. Syntax highlighting and MathJax renderers were already available, so it was just a matter of combining both and adding custom image loading from the database, which was very easy. Mistletoe has a very easy to use API, so this was no problem.

      For LaTeX math rendering, I'm using MathJax. It supports pretty much everything, which is nice, but it can take a while to load. I'm currently loading it from a CDN in a <script> tag, so I'm hoping once I load it from a local file it'll be a bit faster. If not, I may have to find another solution.

      Like I said, the app still has a few bugs that need to be fixed. If you find any problems, it would be great if you could leave a comment here or open a Github issue (or if you have any feature requests).

      21 votes
    11. Online markdown editors that are capable of handling loads of text

      I have discovered hackmd.io a few months ago and started digitalizing my massive mess of handwritten nodes together with all the terrible notepad/word mixed notes into one big personal "wiki" of...

      I have discovered hackmd.io a few months ago and started digitalizing my massive mess of handwritten nodes together with all the terrible notepad/word mixed notes into one big personal "wiki" of knowledge. But I ran into a problem. HackMd can only handle ~50k characters before starting to lag and 100k characters is the limit per note, this doesn't even fit my one summary/tips note on one programming language. Do you know any alternatives? I really like markdown, since all of the notes look clean and organized, I can insert pictures and link to websites easily, but also love to work with them online, since I have to switch between 3 computers between university, home and my laptop.

      7 votes
    12. Tildes should not use hard line breaks for line endings

      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.

      23 votes
    13. Need help formatting on Tildes

      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
    14. Markdown for strikethrough and tables is now enabled

      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 two tildes both before and after the text you want to strike out, whereas group links will only have one 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
    15. Alternatives to Markdown for writing short documentation/TODOs?

      Hi guys, I often find myself writing small text files for projects, like a bit of documentation or TODOs. I have a proper system in place for larger projects, but would love to be able to scribble...

      Hi guys,

      I often find myself writing small text files for projects, like a bit of documentation or TODOs. I have a proper system in place for larger projects, but would love to be able to scribble down things for larger ones.

      As big of a fan of Markdown as I am, I find that it's often inappropriate for these kinds of tasks. For example, I find myself mimicking a task list with multiple-paragraph list items.

      What do you guys use? Do you know of any Markdown alternatives that give you a bit more control over the layout?

      Thanks!

      14 votes
    16. 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
    17. 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...

      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
    18. Text formatting: Escaping tildes or ats

      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
    19. Feature Request: Markdown preview

      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