Appearance
Using logical symbols and emojis β
You can use any unicode symbol you want in Argdown. However, it is often cumbersome to copy & paste special characters into a document. Instead you can use shortcodes in Argdown that will be transformed into unicode characters in all export formats.
Shortcodes are surrounded by dots or colons:
[s1]: q :love:
+ <a1>: p .^. (p .->. q)
+ <a2>: :+1: :happy:Click on the "Map" button to see the unicode characters.
Here is a list of the shortcodes that are currently supported by default:
| Shortcodes | Unicode character |
|---|---|
.~. or :~: | Β¬ |
.A. or :A: | β |
.E. or :E: | β |
.->. or :->: | β |
.<->. or :<->: | β |
.^. or :^: | β§ |
.v. or :v: | β¨ |
.v_. or :v_: | β» |
.<>. or :<>: | β |
.[]. or :[]: | β» |
.O. or :O: | π’ |
.P. or :P: | π£ |
.+1. or :+1: or .up. or :up: | π |
.-1. or :-1: or .down. or :down: | π |
.y. or :y: or .check. or :check: | β |
.n. or :n: or .cross. or :cross: | β |
.?. or :?: or .question. or :question: | β |
.star. or :star: | β |
.heart. or :heart: | β€ |
.happy. or :happy: | π |
.smile. or :smile: or .smiley. or :smiley: | βΊοΈ |
.laugh. or :laugh: or .lol. or :lol: | π |
.rofl. or :rofl: | π€£ |
.joy. or :joy: | π |
.love. or :love: | π |
.wink. or :wink: | π |
.shush. or :sush: | π€« |
.meh. or :meh: | π |
.eye-roll. or :eye-roll: | π |
.sad. or :sad: | π’ |
.disappointed. or :disappointed | π |
.scream. or :scream: | π± |
.think. or :think: | π€ |
Adding custom shortcodes β
If you are missing a special character in this list, you can simply add a custom shortcode in your configuration:
===
model:
shortcodes:
":bomb:": {unicode: "π£"}
===
[s1]
- <a>: :bomb:Using the ArgVu font ligatures for logical symbols β
If you use the ArgVu font with Argdown code and activate the dlig font ligatures, the shortcodes for logical symbols will automatically be displayed as their unicode counterparts (so :A: will look like β and :<->: will look like β), without changing the underlying code. This way you can "magically" enter logical symbols in an Argdown document without copy & paste.
You can try this out in the Argdown Sandbox by clicking on "Use ArgVu font" above the code editor.