Forum Discussion

JimHarrison's avatar
JimHarrison
Qrew Champion
5 months ago
Solved

Rich Text Field Markdown Cheatsheet

tldr; Rich Text Fields use Markdown

I was writing a solution to a User Request problem into our homebuilt ticketing system. It has to do with applying '_curuser_' to a custom Role permission. I noticed that as soon as I hit space after the last underscore, the text changed. This is unexpected behavior and in this case undesireable, I want to maintain the syntax of the custom rule. 

Today I learned something new and want to share it in case like me you had no idea this would happen. If you type certain characters in a specific order into a Rich Text field, the text changes formatting. Below is a table of all the examples I could find. The left column is preceded and ended by a single quote which causes the text to stay unchanged. The right column is the same syntaxt without the single quotes, note how the formatting is changed. 

~ since this Website won't allow some of the characters I inserted an image, sorry to those who like to copy and paste for thier own notes. 

 

  • Interesting. I tried to get my team to use markdown syntax, but it never seemed to be supported, no matter what we tried. Is this a new development in RTFs? Even in pipelines there used to be notation for markdown support, but that hasn't been present for some time. 

    In addition to what you've posted, here are a few more handy links: 

    markdown guide

    GitHub docs markdown

3 Replies

  • Mez's avatar
    Mez
    Qrew Captain

    Interesting. I tried to get my team to use markdown syntax, but it never seemed to be supported, no matter what we tried. Is this a new development in RTFs? Even in pipelines there used to be notation for markdown support, but that hasn't been present for some time. 

    In addition to what you've posted, here are a few more handy links: 

    markdown guide

    GitHub docs markdown

  • I am not an HTML guru, but is this essentially the browser interpreting it as CSS or HTML style?