Hi all,
Anybody have such .md highlihgter ?
zeljko

Mailing lists / lazarus / 2026-01
11 messages · 3 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi all,
Anybody have such .md highlihgter ?
zeljko
zeljko wroteHi all, Anybody have such .md highlihgter ?
Didn't MvC add on to Lazarus 4.99 very recently? SynHighlighterMarkDown is in the git main branch.
Or is that a diff kind of markdown?
Added to Source-editor too.
Didn't MvC add on to Lazarus 4.99 very recently? SynHighlighterMarkDown is in the git…
That is actual markdown.
Michael.
Now I get confused...
Well, do you mean "actual" as
- "happens to be", i.e. yes that is what is used in md?
- "real/true" as in md uses some "false/not-real markdown"?
Because https://en.wikipedia.org/wiki/Markdown says that md is just one of the possible extensions used for files containing text with markdown.
That is actual markdown. Michael.
Huh, I cannot find it anywhere in ide, and when I open an markdown file in SE , nothing is highlighted (using yesterdays trunk). Do I need to enable anything in IDE to get it work ?
zeljko
zeljko wroteHuh, I cannot find it anywhere in ide, and when I open an markdown file in SE , nothing is highlighted (using yesterdays trunk). Do I need to enable anything in IDE to get it work ?
Yesterday, it was just a highlighter in the SynEdit package, but not added to the IDE.
Today, I added it to the IDE. It should detect .md as file extension.
Now I get confused... Well, do you mean "actual" as - "happens to be", i.e. yes that is…
Your question is : "Or is that a diff kind of markdown?"
My answer is: "SynHighlighterMarkDown is meant to handle actual markdown." as defined in https://spec.commonmark.org/0.31.2/
Michael.
Yesterday, it was just a highlighter in the SynEdit package, but not added to the IDE.…
You can also get TML (TextMate) files for markdown, and put them into? PRIMARY_CONF_PATH/userschemes/tml/
(make sure their names do not clash with buildins, or you can't configure them).
However, they usually have too fine grained control, so the IDE will show plenty of configurable colors....
IIRC vscode has some...
The IDE has a page in the options that checks if all the rules are understood by the IDE (otherwise they must be edited / Textmate rules are only partly documented)
Huh, I cannot find it anywhere in ide, and when I open an markdown file in SE , nothing…
Martin added the necessary registrations in the IDE, so with today's trunk it should work.
Michael.
Martin added the necessary registrations in the IDE, so with today's trunk it should work. Michael.
Thanks !
zeljko