You havn't missed anything, simply nobody has written the Scintilla lexer required for styling Asciidoc.
Cheers Lex
On 7 March 2017 at 13:24, Russell Dickenson russelldickenson@gmail.com wrote:
I wrote most of my documentation in AsciiDoc, naming files with the extension .adoc. I want to apply styling to the AsciiDoc markup so that I can easily differentiate it from my content.
Operating system: Fedora 25 (GNOME edition) Geany version: 1.29
I read the Geany manual and did the following steps in a Terminal
- Navigated to ~/.config/geany/filedefs
- cp /usr/share/geany/filedefs/filetypes.asciidoc
- Opened filetypes.asciidoc in Geany
- Added to the [styling] section the following, copied from the
filetypes,markdown file:
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
- Opened an AsciiDoc marked-up file.
Result?
The header markers in the AsciiDoc file - '=' and '==' and so on do not appear to be styled. The header characters in a sample Markdown file *are* styled.
When I open the example AsciiDoc file, Geany recognises it as such.
I feel I'm missing something simple here, but I can't work out just what.
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users