On 1/1/2015 1:47 AM, Andrei Alexandrescu wrote:
Stars and underlines are popular due to markdown. There'd be limitations, e.g.
pairs occurring across a ddoc parent won't be considered for expansion etc. Also
the defaults can be written to be idempotent. (Below I am removing the single
quote because indeed it's not fitting):

BACKQUOTED=`$0`
QUOTED="$0"
UNDERLINED=_$0_
STARRED=*$0*

So essentially we get to start 100% backward compatible and figure out under
what circumstances the macros expand. I think we can get this working.

Ddoc assumes ( ) nests. But this would require that these characters nest, too:

   *abc_def * _i

for example, which is stretching things a bit because they do not naturally 
nest.

Reply via email to