Example with all the formatting

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

<div class=”bla bla”>HTML code gets escaped</div>

Test the glossary - words that are known, like “agent” should have definitions attached. This should work for like the control problem, s-risk and Goodhart's law. Link with glossary items, e.g. what even is an agent, should be glossarified. Agent-like should not count as agent. Nor should the actual url of links. Words should be case insensitive, like AgEnT should work. Aliases, like the big G should also work.

  but this will be shown

<- 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)

How about Youtube Shorts?https://www.youtube.com/shorts/4LlGJd2OhdQ

This link to youtube should just be a link though.

Testing a suggestion of a rich link

This needs a citation[1]

  1. Numbered

  2. list

And here’s another citation![2]

This footnote has loads of stuff in it to test how it renders[3]

Example description Images!

Test image please do not accept

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)[4]

Is this about AI systems becoming malevolent or conscious and turning on us? or alternatively this kind of link. Much less important, but if trivial may as well cover it.

```

Heading 1 | Heading 2 | Heading 3


Row 1.1 | Row 1.2 | Row 1.3

Row 2.1 | Row 2.2 | Row 2.3

```

Some bulletpoints

  • bold, plain italic link, underlined

    1. Level 2 nested bullet which is also a heading and contains a link

    2. 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

Actually external link!

Consequent links that point to the same thing should be merged into one

Bold, italic, underlined, bold + italic + underline

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

<- 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%22optimization%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%22existential-risk%22} })%20{%20result%20{%20description%20{%20html%20draftJS%20}%20}%20}%20} -> extract the data “html



  1. Here it is ↩︎

  2. Such cite, many authoritativeness, and a link! ↩︎

  3. ed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. ↩︎

  4. This is actually a multi-line footnote Let’s see what this does! ↩︎