home ~ projects ~ socials

Neopoligen Shortcode List

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

Shortcodes

Named Spans: <<span|alfa bravo>>

Code: ``print("ping")|python>>

Strong: **Alfa Bravo|class: red**

Emphasis: __charlie delta|class: green__

Link: >>text|https://www.example.com|class: blue>>

Footnote: ^^id^^

Other Thoughts

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

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. 

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 --