D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
shancarter
Full window
Github gist
Mini HTML
<h1>This is a Head <h2>This is an h2 This is an implied p element. It's just like html with significant whitespace. This is new paragraph. What about <b>{inline} tags? And that's about it, although it would allow you to do more complicated stuff. <h2>More Complicated Stuff <p.foo>You can add classes to elements. <div> You can also nest content.This is a child paragraph. This is another child paragraph. Back to the parent context. What about if you want to <a href=https://google.com>{link} to stuff? Want to do a list? <ul> <li>First item <li>Second item <p#id.class>You can add an id as well as a class. <input type=checkbox checked>Attributes are cool too. <h2>Comments Obviously, comments would be allowed. //This would not be in the output. //Neither would this line. <h2>Scripts What about blocks of code? <script>{{ let x = 25; let y = 15; console.log() }}