Commit Graph

21 Commits

Author SHA1 Message Date
Ben Visness 4e44ba0b45 Make articles responsive 2022-10-26 13:26:01 -05:00
Ben Visness 8eee541ccc Scrap the "resource" tag, make figures nice 2022-10-26 12:32:39 -05:00
Ben Visness b5dac2f4d8 Add !!!figure tag to ggcode 2022-10-08 17:28:36 -05:00
Ben Visness b27ddd1e7f A few education improvements 2022-09-17 16:21:58 -05:00
bvisness d2b34cb87d Initial version of education content (#90)
Co-authored-by: Ben Visness <bvisness@gmail.com>
Reviewed-on: #90
2022-09-10 16:29:57 +00:00
Ben Visness 1f39b166cb Make many improvements and fixes to the markdown experience 2021-09-01 01:15:13 -05:00
Ben Visness 19297c9231 Store post contents in localStorage 2021-07-19 19:52:50 -05:00
Ben Visness a9d39cd969 Make the bbcode parser much faster 2021-07-17 21:42:52 -05:00
Ben Visness 98df5773a5 Use a fork of goldmark that doesn't crash Chrome 2021-07-06 22:00:49 -05:00
Ben Visness 6b21291798 Add plain-text post previews
I opted to do this by making a new markdown renderer that only outputs
plain text, no HTML. This feels a lot more sane to me than trying to
strip HTML out of already-parsed stuff. The tradeoff right now is that
some content just doesn't show up at all, notably bbcode content. I
doubt anyone will care.
2021-07-05 13:34:51 -05:00
Ben Visness 9d6f64fa00 Add syntax highlighting and styling for code blocks 2021-07-04 15:32:06 -05:00
Ben Visness 2f37e07100 Add quotes and a half-assed code tag 2021-07-04 15:32:01 -05:00
Ben Visness 6e7a398dee Add simple bbcode tags 2021-07-04 15:31:58 -05:00
Ben Visness efdc2216f9 Add [youtube] tags to bbcode 2021-07-04 15:31:55 -05:00
Ben Visness 540d1765db Get bbcode working in Goldmark 2021-07-04 15:31:53 -05:00
Ben Visness 085bd46440 Add mathjax 2021-07-04 15:31:51 -05:00
Ben Visness 4d9ef5917e Don't require !embed, use placeholders in previews 2021-07-04 15:31:47 -05:00
Ben Visness f1ccbc53d7 Convert embed stuff to a block parser
Now I know how to do block parsers!
2021-07-04 15:31:45 -05:00
Ben Visness 643f145071 Add !embed(...) syntax 2021-07-04 15:31:44 -05:00
Ben Visness 987d379223 Add spoilers (and broken jank starter bbcode) 2021-07-04 15:31:41 -05:00
Ben Visness 08f20f9fed Get markdown working in WASM 2021-07-04 15:31:40 -05:00