[Geany-Users] How do I apply visual styling to AsciiDoc markup?

Lex Trotman elextr at xxxxx
Tue Mar 7 04:16:20 UTC 2017


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 at 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
>
> 1. Navigated to ~/.config/geany/filedefs
> 2. cp /usr/share/geany/filedefs/filetypes.asciidoc
> 3. Opened filetypes.asciidoc in Geany
> 4. 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
>
> 5. 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 at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>


More information about the Users mailing list