djot icon indicating copy to clipboard operation
djot copied to clipboard

create cheetsheet.md

Open uvtc opened this issue 2 years ago • 4 comments

First draft at a cheatsheet for djot.

uvtc avatar Aug 01 '22 20:08 uvtc

Argh. Hang on. Github's markdown doesn't support subscript and superscript, and won't pass through the highlighting.

uvtc avatar Aug 01 '22 20:08 uvtc

Github's md won't render the mark tag, and doesn't appear to allow a span with inline css either.

uvtc avatar Aug 01 '22 21:08 uvtc

@jgm , if you don't like the format of this cheatsheet, or the humor in the draft here, or if you'd rather write your own (possibly at a later date), no offense taken if you accept this PR then make massive changes, or if you'd rather not accept this PR at all. I'd just like to see a cheatsheet for djot.

uvtc avatar Aug 02 '22 19:08 uvtc

I like the basic idea. ~~I think it would be good to add some tooling, so that the examples are all converted by djot to HTML and put in columns, as in doc/syntax.html. (Then we'd also get correct output for highlighting, among other things.)~~ (Retracting this suggestion.)

jgm avatar Aug 02 '22 19:08 jgm

Added a note that you can use tildes instead of backticks. Examples still use backticks (though I think it would look better to use tildes in the examples).

uvtc avatar Aug 05 '22 02:08 uvtc