Canoo WebTest Community Site
[ start | index | login ]
start > snipsnap-help

snipsnap-help

Text formatting rules

>>SnipSnap text may contain the following filter rules and macros to format text. This includes simple filters for bold and italic as well as special macros for tables and source code.

Simple text filters

MnemonicRenderingComment
1 Title a style 1 heading (major heading)
1.1 Title a style 1.1 heading (minor heading)
- text a list item (with -), several lines create a single list
* text a list item (with *)
1. text an enumerated list
a. text alphabetical enumerated list
A. text uppercase alphabetical enumerated list
i. text roman enumerated list
I. text uppercase roman enumerated list
g. text greek enumerated list
h. text hiragana (japanese) enumerated list
k. text katakana (japanese) enumerated list
j. text hebrew enumerated list
__bold__boldsimple bold text
~~italics~~italicssimple italic text
--strike--strikestrike through text
(empty line) produces a new paragraph
\\ creates a line break, please use sparingly!
[start]startinternal link to another document
http://snipsnap.org/>>http://snipsnap.org/creates a link to an external resource, special characters that come after the URL and are not part of it must be separated with a space.
\XXescape special character X (i.e. {)

Available Macros

MacroParameterBeschreibung
anchor1: anchor text
Places a HTML anchor tag in the snip.
api1: Klassennamen, auf den verwiesen werden soll, z.B. java.lang.Object oder java.lang.Object@Java131
2: API Typ, z.B. Java12, Ruby (Standard ist "Java") (optional)
Erzeugt einen Verweis zur API Dokumentation.
api-docsKeine Parameter.Generiert eine Liste aller bekannten API Dokumentationstypen.
asin1: ASIN Nummer einer DVD oder CD
Erzeugt einen Verweis zu Diensten, die DVD- und CD-Preise vergleichen oder verkaufen.
backlinksRenders a list of backlinks for the snip.
Renders a list of backlinks for the snip.
calendarKeine Parameter.Displays a monthly calendar view with links to postings.
code1: Formatierer, Standard ist java (optional)
Zeigt den eingeschlossenen Quelltext farbig hervorgehoben und formatiert an. Dies funktioniert z.B. mit Java, XML oder SQL. Der Typ "none" lässt den Text wie er geschrieben ist. Dies ist praktisch für unbekannte Typen.
create-div1: class name of the div
2: Java compatible HTML text
div1: css class name of the div block
Creates a div block with the provided class name around HTML text
echo1: some text (including variables) to echo
2...: ...
Echoes the parameters and resolves content of variables, echoes content
field1: name of the input field
2: initial value of the input field (optional)
3: target of the link (optional)
4: button text (creates a button) (optional)
Display a form input field and submit button.
file-path1: Ein Dateisystempfad
Zeigt einen Dateisystempfad korrekt an, indem Schrägstriche durch Backslashes ersetzt werden.
filtered-overview1: How many snips to display
form1: action url
title: form title header
Create a html form. Example:{form:../exec/myaction|title=Send me a message}
{form-field:text|input|Text}text{form-field}
{form-field:submit|submit}Send{form-field}
{form}
form-field1: parameter name
2: input, textarea, hidden, password or submit
3: description (not needed for hidden)
4: rows (for textarea only) (optional)
content: value
Make an input form field element. Content between tags becomes field value.
graph1: Graph-Type (horizontal, vertical, mindmap, explorer, uml)
Render a graph like an organigram or mindmap.
hello1: name to print
Say hello example macro.
iconicon name (ok,nok,neutral,...)
Shows one of the icons (snip Icons/*.gif):
imageimg: URL (must have external images enabled) oder name des attachments
alt: alternative text (optional)
ext: extension of the image, if omitted in "img" (optional)
align: alignment of the image (left, right, flow-left, flow-right) (optional)
target: links image to the target (optional)
Displays an image file.
import-content1: URL to import the content from. Relative links in the content are replaced with this URL. If this URL ends with .html/.htm, relative links are replaced with URL without the .html/.htm page
2: URL to the downloads (optional: only use it if you don't host your project on java.net)
Imports webcontent from java.net page. It shows the content from the "Description" header bis page footer
index1: Lister to render snips (optional)
Displays a list of all snips of the system. Comment snips are filtered out.
inter-wikiKeine Parameter.Zeigt eine Liste der bekannten Interwikikürzel.
isbn1: ISBN Nummer eines Buches oder Magazins
Erzeugt einen Verweis zu Vergleichsdiensten, die Bücher- und Magazinpreise vergleichen oder verkaufen.
label-searchtype: Lister to render found snips (AtoZ, Vertical, Simple)
name: Name of a Label to search for
value: Value of the label too look for
Show all snips that have a certain label.
last-login1: login name
Show the last login of the user.
last-visit1: login name
Show the last login of the user.
link0 / text: displayed text
1 / url: linked url
2 / img: none to omit external link image
3 / target: default is "_blank". "none" omits target. Other targets are used as is. (optional)
link to (external) file/document
list-of-macrosKeine Parameter.Zeigt eine Liste aller Verfügbaren Macros an..
list-of-users1: type of listing (Vertical, AtoZ) (optional)
2: "nosize" ignores size of list (optional)
Display a list of all users.
loginsDisplays all currently logged in users and guests.
Displays all currently logged in users and guests.
mail-to-admins1: from mail-address
2: subject
content: message body
Send a mail to all admins. Example:
{mail-to-admins:$mailaddress|This is a subject about $subject}
This is a message body for topic {$topic}.
This one contains a new line. Regards {$name}.
{mail-to-admins}
mail-to-user1: from mail-address
2: to-username
3: subject
content: message body
Send a mail to a user. Example:
{mail-to-user:$mailaddress|$user|This is a subject about $subject}
This is a message body for topic {$topic}.
This one contains a new line. Regards {$name}.
{mail-to-user}
mailto1: email adresse
Erzeigt einen Verweis auf eine Emailadresse.
note1: the text of the footnote
Render a footnote.
online-timeKeine Parameter.Displays the time since SnipSnap is online.
overview1: How many snips to display
precontent: text to be preformatted
Renders a preformatted html text.
quote1: Quelle (optional)
2: Quellenbeschreibung (Standard ist "Quelle") (optional)
Zeigt den eingeschlossenen Text als Zitat an.
recent-changes1: number of snips to show, defaults to 10 (optional)
2: Lister to render users (Vertical, AtoZ ...) (optional)
Displays a list of recently changes snips.
recent-changes-detail1: number of snips to show, defaults to 10 (optional)
Displays a detailled list of recently changes snips (including change time and user).
recent-weblogcount: number of weblogs to show, defaults to 10 (optional)
month: number of month to show, defaults to 3 (optional)
Shows a list of recently changed weblogs. Only works if weblogs ping your site.
rfc1: RFC Nummer auf den Verwiesen werden soll.
Erzeugt einen Verweis zu einem RFC.
search1: search term to look up
2: number of hits to show, defaults to 10 (optional)
Search for snips containing the phrase or term specified.
search-content1: search string
search-snips-with-labels1: the category to search
2...: ...
Lists all Snips that are labelled with all the arguments
search-tableLabelnames separated by |
"All Labels" if you want all labels that exist
Renders a table that contains links to snips which fullfill the search criteria.
set-labelsLabels to add, separated with |
Sets labels of category type to the snip
show-all-category-labelsboolean true for vertical alignment, false for horizontal alignment. Default is true;
Lists all category labels
show-blogsThe number of blogs to be displayed
The snip the blogs belong to
the class name of the div the title is rendered
Shows a list with the blog titles that belong to a certain snip
show-labelsnone
Show all snips that have a certain label.
since-last-login-of-user
Displays a detailled list of snips changed since last visit of currently logged in user (including change time and user).
since-last-visit1: login name
2: Lister to render snips (Vertical, AtoZ) (optional)
Show all snips that have been changed since the last visit of the user.
snip-countKeine Parameter.Display the number of snips.
snip-count-by-user1: a login name
Display the number of snips an user wrote.
snip-subtree1: Namespace prefix
2: Sort order of the snips separated by semicolon (optional)
Show a subtree of snips below the given namespace prefix with an optional sort order. If the snip has an attachment called snip_properties.gif it is appended to the snip names.
snip-tree1: the namespace to start with
Displays a tree view of a name space.
snip-xref1: snip that is referenced
2: number of hits to show, defaults to 10 (optional)
Search for snips linking to the given snip.
sniplinks1: the width of the sniplink table (optional)
Renders a table of sniplinks for the snip.
snips-by-hotness1: number of snips to show, defaults to 10 (optional)
Displays a list of snips sorted by their "hotness" (view count).
snips-by-user1: a login name
Show all snips created by a specified user.
tableKeine Parameter.Zeigt eine Tabelle an.
user-countKeine Parameter.Display the number of users.
versionKeine Parameter.Display the SnipSnap version number.
weblog1: amount of posts to show (optional)
Renders the sub-snips from the namespace as a weblog.
xref1: Klassenname, z.B. java.lang.Object oder java.lang.Object@Nanning"
2: Zeilennummer (optional)
Erzeugt einen Verweis auf XRef Dokumentation.

no comments | post comment
labels
attachments
Created by admin. Last edited by admin, 4 years and 251 days ago. Viewed 8,633 times. #1
[edit] [rdf]

Registration
Want to contribute? You can register here.

Help
For hints about formatting text see snipsnap-help.

Entry Points:

Editor's Pick:
Logged in Users: (0)
… and 26 Guests.

Recently Changed
more Recent Changes...

RSS News Feed:
RSS Feed

Powered by SnipSnap 1.0b1-uttoxeter

snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt