Convert quoted arguments into code?
The manual has stuff like:
characters with the “-w” option. “--render-balance”
I wonder if everything that looks like an an argument (i.e. something like ^-[\w-]) should be converted to `code`.
Other things that might be converted like this:
- single characters: e.g.
Tags must begin with “#”, and links with “^”.
- maybe dates:
\d\d[./]\d\d[./]\d\d
also account names:
name, e.g., “Expenses:Scuba:Martin”. The other accounts, e.g. “Expenses:Groceries” are intended to be split.
If these pieces of text are written in Consolas font, they should now appear as inline code (#10).
If these pieces of text are written in Consolas font, they should now appear as inline code (#10).
The idea of this ticket was to convert them to code even if Consolas is not used, as long as they match a specific pattern.
While it's probably best to convert the Google docs to Consolas, that's probably a lot of work and doing it in the converted might be a good idea. But it's up to you.
I think it's better to keep the original formatting, at least as long as Google doc has the "official" status.
But I won't mind if you send a PR with additional rules for parser.