home ~ projects ~ socials

Initial Neopolitan Shorthand Tags

This is an archive of what I was looking at for an early version of Neopolitan's shorthand tags.

TODO

The original idea was to start with a single token then split a pair later to either end or add attributes.

Old Notes

`code text``
`code text`lang`
`code text`lang|class: alfa bravo|id: charlie`

*strong text**
*strong text*class: alfa bravo|id: delta*

_em text__
_em text_class: alfa bravo|id: echo_

~strike text~~
~strike text~class: alfa bravo|id: foxtrot~

>link text>URL>
>link text>URL|class: alfa bravo|id: golf>

)span text))
)span text)class: alfa|id: hotel)

I switch to using pairs for the start and finish and pipes to split attrs and flags. I find it easier to look at and it makes the parsing simpler.

-- end of line --