On 27 November 2016 at 19:39, Gavin Smith <[email protected]> wrote: > It would be nice to have some kind of extensibility mechanism. One way > of doing this would be to add a command, for example @span, which > could be passed through to the output format in some form, enabling > further processing by tools to add styles to the marked text.
On second thoughts, this is already possible. The best way at the moment, I think, to underline text would be to output strings in the output like this: this text isn't underlined UNDERLINE_ONbut this text is.UNDERLINE_OFF Then after you get, say, the HTML output, search for all instances of UNDERLINE_ON (or UNDERLINE_OFF) and change them to <ul> (or </ul>). I feel this idea is a bit stupid, but I can't say why: I can't really see anything wrong with it. If we do add a command like @span as mentioned above, it would be to do the same thing but make it possibly slightly easier.
