atom-language-asciidoc icon indicating copy to clipboard operation
atom-language-asciidoc copied to clipboard

Add grammar for general inline macro

Open ProgramFan opened this issue 9 years ago • 8 comments

Add general inline macro grammar so that custom inline macros can be highlighted.

For example: cite:[XXX] can be highlighted as in the following screenshot: 2016-09-17 9 52 05

ProgramFan avatar Sep 17 '16 13:09 ProgramFan

This is important for promoting the idea that extensions are a natural part of the AsciiDoc language.

Is the intent to style custom macros differently than built-in macros? I can see the logic to that. If not, all inline macros (including links) follow the same pattern, so it might be more efficient just to capture them all at once.

mojavelinux avatar Sep 17 '16 23:09 mojavelinux

Sorry for the mess of commit history. But the diff shall be clean. Would someone review it? Thanks.

ProgramFan avatar Nov 14 '16 14:11 ProgramFan

Please rebase your branch. Thanks.

ldez avatar Nov 14 '16 20:11 ldez

Done. @ldez

ProgramFan avatar Nov 15 '16 13:11 ProgramFan

I need to fix #170 before review it.

ldez avatar Nov 15 '16 19:11 ldez

OK.

ProgramFan avatar Nov 16 '16 13:11 ProgramFan

Can you rebase once again, thanks.

ldez avatar Nov 21 '16 19:11 ldez

Done.

ProgramFan avatar Nov 22 '16 14:11 ProgramFan