A fairly good representation of how we want this answer to render inside the UI can found here, rendered using Github’s Gist renderer. Note that the iframe video embed doesn’t work there, but (almost?) everything else does. Or rather, everything that’s actually been implemented in our own markdown generator is supported! Example to another gdoc on the site.
some(inline).code
<- YouTube embed using https://www.youtube-nocookie.com/embed/hEUO6pjwFOo
$100,000 for Tasks Where Bigger AIs Do Worse Than Smaller Ones #short - YouTube <- Short embed (no card is available)
This link to youtube should just be a link though.
This needs a citation1
-
Numbered
-
list
And here’s another citation!2
Some links to other answers! Link to another answer as an internalish link or as a gdoc link. (only the last really needs to work as opening the relevant question as a UI element, but first is a nice bonus)3
A robust pointer to human values: Universal Alignment Test or alternatively this kind of link. Much less important, but if trivial may as well cover it.
// Some code
const foo = () => bar
Some bulletpoints
-
bold, plain italic link
-
Level 2 nested bullet which is also a heading and contains a link
-
WHY IS THIS ALSO PREFIXED AS a. IN THE DOC
-
-
testing
A heading with some bold bits and some italic bits and a link to something and a bit that’s all three
Bold, italic
This is a quote
This is a second line of the same quote.
This will be on the same line as “This is a second line” etc
This is a second, separate quote
[See more…] <- Marker for dividing the answer with a show more JS thing.
Pulling tags from LW/EAF:
https://www.lesswrong.com/tag/optimization
-> https://www.lesswrong.com/graphql?query={%20tag(input:%20{selector:%20{slug:%20%22**optimization**%22} })%20{%20result%20{%20description%20{%20html%20draftJS%20}%20}%20}%20} -> extract the data “html”
https://forum.effectivealtruism.org/topics/existential-risk
-> https://forum.effectivealtruism.org/graphql?query={%20tag(input:%20{selector:%20{slug:%20%22**existential-risk**%22} })%20{%20result%20{%20description%20{%20html%20draftJS%20}%20}%20}%20} -> extract the data “html”