Formats

Simple formatting styles are used: I would find a sane implementation of tools like Markdown, but, due some problems, I prefer to use some proprietary tags. They can divided in two parts, the elements that set a particular property of the file, and that need to stay at the beginning of the file, and format options.

Markdown syntax

#[#####]

A title, where h1 to h6 is depending from the number of #. It must be followed by a space.

[name](link)

This is intended to put a link in a simple way into pages. First part is the name showed, second the link.

_word_

With this kind of format, we can set a word to be in cursive, if possible.

*word*

Bold format, we can set a word to be in cursive, if possible.

<aaaa.bbbb@ccc>

Format for email, it will be translated in a href mode.

<www.domain.com>

Format for web address, it will be translated in a href mode.

' ' (tab)

The line with a tab at the beginning, and the followers, will be considered marked as in a <pre> block, within a class called sgcode, and the tab will be removed.

' ' (quadruple space)

At the beginning of a line, it means that line should not be translated, formatted, markupped, etc, only passed to final file without the four spaces at the beginning, without a final <br>. If spaces are more than four, it will remove only the four at the beginning.

Others

<file.jpg>

When the link is finishing with jpg or png, it will be considered a link to an image, using <img src>

<:name.youtube>

When the link is finishing with youtube, it will be considered a link to that video. For example, <:7Mi29MLdaeA.youtube>

<file.mp3>

When the link is finishing with mp3 or ogg, it will be considered a link to an audio file, placed with <audio> tag on the page.

<q:phrase>

Quoted text: tag <q> will surround the phrase. Phrase must not have carriage return or line feed in it. Generally browsers will put double quotes around it.

Last update: 2020-09-06 12:11