The reason I haven't implemented pre / code and quote bbcode yet is that I’m undecided on what convention I should use. I would not like to use a convention that requires typing a symbol every line, as this goes wonky and becomes difficult to manage if you delete / add text before submitting. Therefore, some sort of enclosing wrapper would be best.
Quotes:
It is important to note that quotes will have to contain nested quotes, so the syntax has to be such that this can be safely detected and rendered.
The most common type of quote convention is "[q]…[/q]". These are okay, but nothing too special. In ReMarkable, block quotes use pipes and tabs—off the cards here—but inline quotes use « … » or << … >>. These look nicer but are less commonly known.
PRE / Code:
There is a need to quote source code and other monospace text. In bbcode this is usually [code]. In ReMarkable it is `…` (samp) or ``…`` (code), and the pre "fence" for large blocks.
~~~>
…
<~~~
Pre fences have the benefit of being nestable, however this is not common in bbcode; most bbcode does not allow you to write unescaped bbcode, other than turning the whole feature off.
I am interested mainly in elegance, simplicity to type (most bbcode is clumsy) and a natural flow in text.
What are your thoughts?