Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Comic markup/microformat ideas
***
Format:
***
Comic
panel (scene)
-description*
person/thing/offscreen
-dialog/soundeffect
caption/narration
-text
(* = optional)
***
Example:
***
<comic>
<panel description="A glossy meadow in central park. Two ducks sit by a pond.">
<person is="Duck" />
<dialog from="Duck">
I love wet weather!
</dialog>
<person is="Drake" />
<dialog from="Drake">
Me, too, sugar muffins.
</div>
<dialog from="Duck">
Who you calling 'sugar muffins?'
</dialog>
</panel>
<panel description="The ducks are startled by a noise.">
<dialog from="offscreen">
WOOF!
</dialog>
<person is="Duck" />
<person is="Drake" />
<dialog from="Drake Duck">
Eek!
</div>
</panel>
<panel description="Somewhere, in the distance, a phone is ringing.">
<narration>
We had no idea our ducky lives were about to change forever...
</narration>
<thing is="phonebooth" title="Phone Booth" /> <!--use title where "is" might be nonsensical, i.e. if it's a long name w/ spaces-->
<dialog from="phonebooth">
Rrrrring!
</dialog>
<caption>
To be continued...
</caption>
</panel>
</comic>
***
Note
***
Naturally we don't have tags like this. But if we can find things that already behave this way, perhaps a microformat solution could be agreed upon. It all comes down to usage and adoption.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment