they're all single-files because come on
Native HTML5 video tags using the same syntax as inline image embeds.
Just embed video files as if they were images. Video files are detected based on their file extension.
![alt](./video.mp4)
You can manipulate the attributes of the video
element by adding query parameters to the source URL:
muted
: Set to any value to mute the video by default.autoplay
: Set to any value to enable autoplay. (Most browsers requiremuted
to respect this.)
Special paramters:
nocontrols
: Set to any value to remove the controls. Note that controls are enabled by default.gifmode
: Shorthand fornocontrols
,autoplay
,muted
.
Markdown only.
Implements bbcode-style spoiler boxes, which can be used to collapse and expand sections of content.
Use the tag surrounding standard markdown.
[spoiler]
This is *true* markdown text.
Markdown allows you to be lazy and only put the `>` before the first
line of a hard-wrapped paragraph:
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
[spoiler]
There is an alternate syntax wherein [spoiler]
takes a "parameter", which is used to style the spoiler box button.
[spoiler Content]
Some big images
[spoiler]
This will show as "Show Content" and "Hide Content" instead of "Show Spoiler".
Spoiler boxes can be nested arbitrarily.
Spoiler contents are considered an inline part of the parent document, and can contain elements like [TOC]
. The spoiler box is added at the very end of processing.
Suggested CSS would be something like:
/* Spoiler tags */
button.spoiler-button {
margin-left: auto;
margin-right: auto;
display: block;
}
.spoiler-wrapper {
border: dashed gray 1px;
margin: 32px 0px;
padding: 1px 35px;
}
Note: Including headers inside spoiler boxes is not recommended for various semantic reasons, including
- Inconsistent anchorlink behaviour
- Incompatibility with plugins like outline