diff --git a/app/templates/babycode.html b/app/templates/babycode.html index fdd7f3c..e8ca82f 100644 --- a/app/templates/babycode.html +++ b/app/templates/babycode.html @@ -128,6 +128,7 @@

Text inside the tag becomes the alt text. The attribute is the image URL.

Images will always break up a paragraph and will get scaled down to a maximum of 400px. The text inside the tag will become the image's alt text.

+

Multiple images attached to a post can be clicked to open a dialog to view them.

Adding code blocks

@@ -153,11 +154,12 @@

Spoilers

- {% set spoiler = "[spoiler=My spoiler tag]My hidden content[/spoiler]" %} + {% set spoiler = "[spoiler=Major Metal Gear Spoilers]Snake dies[/spoiler]" %}

You can make a section collapsible by using the [spoiler] tag:

{{ ("[code]\n%s[/code]" % spoiler) | babycode | safe }} Will produce: {{ spoiler | babycode | safe }} + All other tags are supported inside spoilers.
{% endset %} {{ sections | safe }}