Skip to content

Instantly share code, notes, and snippets.

@ninjaPixel
Created August 19, 2014 13:41
Show Gist options
  • Save ninjaPixel/13642d71516c86204ef6 to your computer and use it in GitHub Desktop.
Save ninjaPixel/13642d71516c86204ef6 to your computer and use it in GitHub Desktop.
superscript test
{"description":"superscript test","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":true,"loop":true,"restart":false,"autoinit":true,"pause":true,"loop_type":"pingpong","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"thumbnail":"http://i.imgur.com/JE7xa4H.gif","ajax-caching":true}
var svg = d3.select("svg")
svg.append('text').text("Text")
svg.append('sup').text("Superscript")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment