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

Russell Dickenson russelldickenson at xxxxx
Wed Mar 8 00:02:58 UTC 2017


Lex,

Thank you. I just couldn't work out why it wasn't being applied.

On 7 March 2017 at 14:16, Lex Trotman <elextr at gmail.com> wrote:

> 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
> >
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20170308/b9a82aa0/attachment.html>


More information about the Users mailing list