Viscidcode Cheat Sheet

Markdown

##md

Allows you to use markdown in an effect.

##md{ - List item one - list item two - list item three}

Captioned Image

##cap-img

Renders an image with caption.

Property Description
src URL for a static image (non-gfycat)
gfycat gfycat name ('MyGloriousElephant') for the imge
align Alignment of the captioned image. ('left', 'center', 'right')
width Width of the image (in pixels)
height Height of the image (in pixels)
top Remove top margin if image is floated at the top of the document. ('true')
border Adds a border and padding around the image ('true')
artist Artist name
url URL for the artist
title Artwork title
caption Caption for the image
imageRoutes Comma-separated list of colon-separated properties that match particular routes.
imageRoutes="PATH:IMAGE:TITLE:ARTIST:CAPTION,PATH:IMAGE:TITLE:ARTIST:CAPTION,PATH:IMAGE:TITLE:ARTIST:CAPTION"
e.g. ##cap-img|imageRoutes="dissociative:/gallery/dissociative.jpg:The Great Dissociative:Some Artist,deliriant:/gallery/deliriant.jpg:The Minor Deliriant:Some Other Artist"
##cap-img|src="http://images.google.com/flower.jpg"|align="center"|width="300"|artist="George"|title="Flower"|caption="An example of a flower."

Reference

##ref

Creates a refernce to a citation in the citations list.

Property Description
to The citation number to reference.
no The reference number (how many references to the same citation have been made prior to this reference? Add 1.)
text The text of the number (if omitted, defaults to the citation number)
##ref|to="5"|no="2"

Subarticle Header

##subarticle

Defines a point in the document to scroll to after clicking on a subarticle link

Property Description
id The 'id' of the subarticle header. (Not the title)
size The 'id' of the subarticle. (Not the title)
##subarticle|id="some-id"|size="h3"{This is some header}

Referenced Bullet

##refbull

Renders a bullet list element with captions on the end.

Property Description
refs List of comma separated references. Each reference can specify which reference number it is by adding the reference number with a period. e.g., 2.3 would add a reference to citation #2 that is the 3rd reference in the article.
##refbull|refs="2,4.2,5"{This is a bullet list item with a bunch of references at the end of it.}

Audio Player

##audio

Renders an audioplayer with waveform.

Property Description
src URL of the audio file ("/audio/whatever.mp3")
title Audio title
artist Audio artist
audioRoutes Comma-separated list of colon-separated properties that match particular routes.
audioRoutes="PATH:AUDIO:TITLE:ARTIST,PATH:AUDIO:TITLE:ARTIST,PATH:AUDIO:TITLE:ARTIST"
e.g. ##audio|audioRoutes="dissociative:/audio/dissociative.mp3:The Great Dissociative:Some Artist,deliriant:/audio/deliriant.mp3:The Minor Deliriant:Some Other Artist"
##audio|src="/audio/whatever.mp3"|title="The sound of me not giving a fuck."|artist="Viscid"

Internal Link

##int-link

Creates a link to another page on the Index

Property Description
to Location on the effect index you want to link to.
##int-link|to="/replications/"{our replication gallery}

External Link

##ext-link

Creates a link to page outside of the Index

Property Description
href URL of the website to link to.
##ext-link|href="http://www.puppies.com"{I wish I had a puppy.}

Bold

##b

It's fucking bold.

##b{I REALLY WISH I HAD A PUPPY.}

Italics

##i

I'm sooooooo done with writing this cheatsheet.

##i{soooooo done}