Commit Graph

11 Commits

Author SHA1 Message Date
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 8ecb4a7173 Rework the category/thread data model
Threads can stand alone now. Threads can be attached to resources
directly without requiring a category. In addition, a lot of wiki stuff
and library discussion stuff was deleted because we're not gonna port
it.
2021-07-29 22:49:24 -05:00
Ben Visness 9b9d467ce4 Add CLRI/TLRI handling 2021-07-23 14:00:37 -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 4d9ef5917e Don't require !embed, use placeholders in previews 2021-07-04 15:31:47 -05:00
Ben Visness 08f20f9fed Get markdown working in WASM 2021-07-04 15:31:40 -05:00