Sage Markup
Sage is a
markup language
used to generate web pages for the Sage Wiki.
Sage was heavily influenced by
Markdown,
but it is a separate language, with several novel features.
Let's start with a brief example of the Sage language…
This is an example of the Sage language.
/Please/ read on to learn more about Sage [--]
it will be *well* worth the effort!
Features you will learn about include[...]
[list]
#* Text formatting
#* Making lists
#* Highlighting code in other languages
#* Linking to other articles
[end]
For more information, [link #Example]click here[end].
The above Sage code produces the following HTML…
This is an example of the Sage language. Please read on to learn more about Sage — it will be well worth the effort! Features you will learn about include…
This example illustrates several important concepts:
This is an example of the Sage language. Please read on to learn more about Sage — it will be well worth the effort! Features you will learn about include…
- Text formatting
- Making lists
- Highlighting code in other languages
- Linking to other articles
- Like HTML, Sage word wraps text.
- Unlike HTML, in Sage, a blank line signifies a paragraph break.
- In Sage, surround text in asterisks to use a bold typeface.
- Similarly, surround text in forward slashes to use italics.
- Sage uses several tags, enclosed in square brackets. A few examples are shown above...
- Between the [list] and [end] tags, any line starting with #* becomes an unordered (bullet) list item. For ordered (numbered) list items, use ## instead.
- Sage markup is stored in plain text files, using the .sage file extension. These files are checked into the Code Vault source control system. As such, lines in .sage files should not exceed 70 columns, in general.
⏱ Last Modified: 10/24 9:45:52 am
Topic contents...
- Tags
- Font Formatting Blocks
- Font Formatting Tags
- Escaping Special Characters
- Paragraph, Line, and Word Breaks
- Character Entities
- Comments
- Content Hierarchy
- Links
- Lists
- Code Samples
- Boxes
- Tables
- Hints, Warnings, and Errors
- Images
- HTML
- Colors
- Fluent SQL
- Graphs and Diagrams
- Mathematical Notation
- Including Other Files
- Search Tags
- Dynamic Content with MiniCalc
- Non-Deterministic Content
- Online-Only Content
- Formatting Sage Source