Markdown Highlight Problems

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
ScrKiddle
Posts: 10
Joined: 05 Aug 2026 03:15

Markdown Highlight Problems

Post by ScrKiddle »

Hi, i am new here and i did try some Markdown from here https://www.markdownguide.org/cheat-sheet/
Now i did try to chance some colors for markdown in the theme settings for markdown.
Some how it is curious, there are multiple entries for bold and italic but it is as if the second entry of bold and italic should be the second entry of each other. As if Bold 2 should be Italic 2 and Italic 2 should be Bold 2.
How ever there is a problem with strike and highlight, the word between the tags dos not change the color just the tags get the color.
Similar Problems with lists, i gave a color to lits but it does not happen, just the numbered list is using the color for numbers for the numbers of the list.
The colors for Links and Titles do work, and the quotes-blocks take the color of the comments, this is ok but the naming is confusing.
I use the beta version which i just have downloaded, the other version was worse on markdown.
its probably not a markdown editor like obsidian with support for references, definitions, footnotes and some in-app preview, but at least sone cool syntax highlights would be fine, may also some in file highlight for code blocks with three backticks followed by the definition for the highlighter like ```python code```.
How ever, thanks any way this editor seems to be very nice.
User avatar
Rickard Johansson
Site Admin
Posts: 6952
Joined: 19 Jul 2006 14:29

Re: Markdown Highlight Problems

Post by Rickard Johansson »

I'll look into it. Thanks.

BTW. In app preview is available. You can use the preview panel, Edge Preview tab, or any other HTML preview method.

markdown02.png
markdown02.png (582.63 KiB) Viewed 290 times
ScrKiddle
Posts: 10
Joined: 05 Aug 2026 03:15

Re: Markdown Highlight Problems

Post by ScrKiddle »

Thanks

Now i have found the preview window and yes it is nice.

How ever i have found an other thing:
Hashtags seem to be missing completely, some thing like in Telegram or the Obsidian Markdown-Files.

# Title

Some text #Hashtag some text.

.. it does not exist in the Syntax settings and also not in the Preview-Window, #Tags do just appear like normal text.
User avatar
Rickard Johansson
Site Admin
Posts: 6952
Joined: 19 Jul 2006 14:29

Re: Markdown Highlight Problems

Post by Rickard Johansson »

I experimented with code block highlighting and added a simple implementation.

markdown3.png
markdown3.png (282.08 KiB) Viewed 259 times

It only highlights keywords, comments, strings and numbers. And I haven't added many source languages yet. But it works :) Well, almost. There are some quirks to fix 8)
User avatar
Rickard Johansson
Site Admin
Posts: 6952
Joined: 19 Jul 2006 14:29

Re: Markdown Highlight Problems

Post by Rickard Johansson »

I think this looks better.

markdown1.png
markdown1.png (86.68 KiB) Viewed 220 times
markdown2.png
markdown2.png (113.18 KiB) Viewed 220 times

It's going to take some time to add support for a bunch of code languages and new features, but I'll release a beta version when fully implemented.
User avatar
Rickard Johansson
Site Admin
Posts: 6952
Joined: 19 Jul 2006 14:29

Re: Markdown Highlight Problems

Post by Rickard Johansson »

Have I missed anything?

markdown3.png
markdown3.png (33.79 KiB) Viewed 216 times
markdown4.png
markdown4.png (15.13 KiB) Viewed 216 times
ScrKiddle
Posts: 10
Joined: 05 Aug 2026 03:15

Re: Markdown Highlight Problems

Post by ScrKiddle »

There is an other thing.

I took this example from Pandoc Verbatim https://pandoc.org/MANUAL.html#verbatim
After this example "Here is a literal backtick `` ` ``." the highlighter in RJ TextEd seems to break.
Pandoc_Problem.png
Pandoc_Problem.png (55.95 KiB) Viewed 169 times
ScrKiddle
Posts: 10
Joined: 05 Aug 2026 03:15

Re: Markdown Highlight Problems

Post by ScrKiddle »

ScrKiddle wrote: 07 Aug 2026 09:24 There is an other thing.
Many other Pandoc examples like footnotes and much more have Problems in the Preview window.
But do work more or less in the Code window as not much can go wrong.

...
https://pandoc.org/MANUAL.html#footnotes
...

May it would be cool if the Preview would understand all this Pandoc stuff or if users could customize it some how to add what they need, may some CSS or some thing that makes the preview to recognize custom markdown Stuff? I dont know.

How ever thanks to look into all this stuff.
User avatar
Rickard Johansson
Site Admin
Posts: 6952
Joined: 19 Jul 2006 14:29

Re: Markdown Highlight Problems

Post by Rickard Johansson »

I'm not adding everything listed at Pandoc (at least not at this point...).

But I've added preview support for tags and footnotes.

footnotes1.png
footnotes1.png (12.8 KiB) Viewed 94 times

footnotes2.png
footnotes2.png (8.91 KiB) Viewed 76 times

Not sure how it's supposed to look like, but does it look okey?
ScrKiddle
Posts: 10
Joined: 05 Aug 2026 03:15

Re: Markdown Highlight Problems

Post by ScrKiddle »

Rickard Johansson wrote: 08 Aug 2026 18:49 [...]
I've added preview support for tags and footnotes.
[...]
Not sure how it's supposed to look like, but does it look okey?
They look nice as long they have some special look and are not the same as normal text.

To my experience #Hashtags mostly look similar to links some times with sme special properties like a special background or some formating-tweaks like bold or italic.
Mostly #Hastags have some functionality, in Preview-Mode or in Code-Edit-Mode together with some special key when clicking.
In many apps #Hastags will open some kind of #Hashtag-Cloud window, in example when just clicked in the preview, or what may would fit well in RJ TextEd, the #Hastag would open the search-pannel with it self when clicked together with a control-key.
Then a user can flipp through all of the same #Hastags which occur some where in the pen file or all files or what ever the user wants.

But it is already very fine if they look like some thing special, what they also are, and not the same as normal text, and probably the user can adjust the looking of #Hastags in the theme settings, so this is already very fine, all the rest with search functionality would be really an outstanding feature that would be worth to mention in the feature list of RJ TextEd. 8)
Post Reply