home ~ projects ~ socials

Neopoligen Shorthand List

TODO

    Redirect to neopolitan.alanwsmith.com page

There's a couple versions of this floating around, but this one is the primary one as of Oct, 2024.

Shorthands

Tags: 

    <<span|alfa bravo|class: red>>

    <<strong|<<em|nested tags|class: red>>>>

Code: 

    ``print("ping")|python|class: highlight``

Strong: 

    **Alfa Bravo|class: red**

Emphasis:

    __charlie delta|class: red__  

Link: 

    [[text|https://www.example.com|class: red]]

Footnote:  

    ^^id^^

Strikethrough:

    ~~stike|class: red~~

Image:

    {{file-name.jpg|alt: text|class: photo}}

Other Possible Shorthand tokens.

Two other ones that are available for use are. Nothing stands out as a good use for them. I was thinking maybe button but that just doesn't quite feel right. Using a <<button tag makes more sense to me.

@@

(())

Other Thoughts

I'm considering other shorthands as well, but I know there are some I don't want to use:

Dashes: --whatever-- 
Those would marking parsing sections and attrs harder.

Exclamations: !!whatever!!
Two exclamations is a string that's used in code sometimes
and would make paring harder. Not to mentions
it's entirely possible folks will type that and
the end of sentence for extra emphasis. 

Pound Signs: ##whatever##
aka octothorps, are used in lots of things from code
comments to markdown. Don't want to conflict with those. 

Dollar Signs: $$whatever$$
Could easily conflict with code or just general text. 

Percent Signs: %%whatever%%
Pretty sure those are used as variable in some
code/operating systems. 

Ampersands: &&whatever&&
Another potential conflict with code.

Granted, most of the code conflicts won't be much of a problem because code would likely be in shorthand blocks.

And, now that I think of it, I was originally using named_span blocks with "code" as the name. You can, of course, still do that, but it'll be way easier to use the backtick based code shorthand becuase the only things that will need to be escaped for it are pipes and multiple backtick strings.

-- end of line --