I'm using the geany 1.32 default installation on ubuntu 18.04 64bit to edit test.md file.
for H1 - H6 headers, the "#" signs are bold, but not the rest of header, i.e. "# Header" only has bold for '#' not for the word 'Header'.
`**bold**` does not show bold, neither does `*italiic*` displays italic.
I can customize them all using filetypes.markdown, except for the H1-H6 headers, the header is not impacted at all as mentioned above, for example:
`header1=0xFFCB4F;0x1E1E1E;true;false` this change will make `#` bold with specified background/front color, but not the header content, i.e. "Header1" in `# Header1` stays non-bold.
At least I would like to have all markdown headers shown as bold inside Geany without the need of any previewer
**bold** does not show bold, neither does *italiic* displays italic.
It does bold and italic by default with the current Geany 1.34.
header1=0xFFCB4F;0x1E1E1E;true;false this change will make # bold with specified background/front color, but not the header content, i.e. "Header1" in # Header1 stays non-bold and un-colored.
What is actually given a particular highlighting style is determined by the lexers in the Scintilla editing component Geany uses. Scintilla is a separate project so feature requests (or better still patches) should be addressed [there](https://www.scintilla.org/).
just looked into scintilla markdown lexer, some patch might be needed there.
also, SciTE which is designed to demo how to use Scintilla library, does not have markdown format by default in the filetypes it supports, which may be saying markdown is not well supported there, that will limit geany too.
https://sourceforge.net/p/scintilla/feature-requests/1204/
Well Scite excludes a lot by default, but markdown is defined for it. From `embedded.proterties`:
``` imports.exclude=abaqus asl asn1 au3 ave avs baan blitzbasic bullant \ cmake cobol coffeescript csound ecl eiffel erlang escript flagship forth freebasic \ gap haskell hex inno kix latex lot lout \ markdown maxima metapost mmixal modula3 nim nimrod nncrontab nsis \ opal oscript pov powerpro powershell ps purebasic r rebol rust \ scriptol smalltalk sorcins spice specman \ tacl tal txt2tags verilog vhdl visualprolog ```
Guess it probably excludes the ones the Scite maintainer doesn't know or use, little known things like `rust` for example :)
As the feature request you posted points out, many lexers are contributed, so updates also need to be contributed. The Scintilla maintainer can't know and use all languages. Thats why I subtly suggested with patches :)
I opened an Issue on https://sourceforge.net/p/scintilla. I hope it will help. See: https://sourceforge.net/p/scintilla/feature-requests/1440/
As mentioned in https://sourceforge.net/p/scintilla/feature-requests/1440/ this should be fixed in: https://github.com/ScintillaOrg/lexilla/issues/60 and its an Geany issue. Please implement it in Geany
@sisyphus74 when somebody provides the upgrade PRs to take Lexilla from 5.1.4 to 5.1.6 then somebody (else?) can provide a PR to map any new features that the markdown lexer acquired.
Closed #2026 as completed via d23c9279e57a145dfbe297a356fe9e5824190c47.
github-comments@lists.geany.org