Customising markdown syntax highlighting in Geany
3
votes
1
answer
3430
views
I'm using Geany 1.23.1 on Lubuntu 13.10.
I've copied over
filetypes.markdown
from /usr/share/geany
to ~/.config/geany/filedefs
.
filetypes.markdown
has the following content:
# For complete documentation of this file, please see Geany's main documentation
[styling]
# Edit these in the colorscheme .conf file instead
default=default
strong=string_3
emphasis=string_4
header1=keyword_1
header2=keyword_1
header3=keyword_1
header4=keyword_1
header5=keyword_1
header6=keyword_1
ulist_item=tag_unknown
olist_item=tag_unknown
blockquote=tag_unknown
strikeout=tag_unknown
hrule=tag_unknown
link=keyword_1
code=attribute_unknown
codebk=attribute_unknown
[settings]
# default extension used when saving files
extension=mkd
# sort tags by appearance
symbol_list_sort_mode=1
Why is the third line present: **# Edit these in the colorscheme .conf file instead**?
What is wrong with editing filetypes.markdown
itself? I would think that, at least from a user's perspective, editing ~/.config/geany/filedefs/filetypes.markdown
(or any other filetypes file) would be preferable to editing a .conf
file (in ~/.config/geany/colorschemes
) as suggested because editing a .conf
file would affect all filetypes not just filetype.markdown
.
Asked by user15760
Oct 30, 2013, 03:44 AM
Last activity: Oct 19, 2021, 06:06 PM
Last activity: Oct 19, 2021, 06:06 PM