Good stuff for programming geeks
[ start | index | login or register ]
start > snipsnap-help

Snipsnap-help

Created by tmoertel. Last edited by tmoertel 1867 days ago. Viewed 4598 times. #1
[edit] [rdf]
labels
attachments

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

MacroDescriptionParameters
anchorPlaces a HTML anchor tag in the snip.1: anchor text
apiGenerates links to Java or Ruby API documentation.1: class name, e.g. java.lang.Object or java.lang.Object@Java131
2: mode, e.g. Java12, Ruby, defaults to Java (optional)
api-docsDisplays a list of known online API documentations and mappings.none
asinGenerates links to DVD/CD dealers or comparison services. Configuration is read from conf/asinservices.txt1: asin number
backlinksRenders a list of backlinks for the snip.unexplained, lazy programmer, probably funzel
calendarDisplays a monthly calendar view with links to postings.unexplained, lazy programmer, probably funzel
codeDisplays a chunk of code with syntax highlighting, for example Java, XML and SQL. The none type will do nothing and is useful for unknown code types.1: syntax highlighter to use, defaults to java (optional)
fieldDisplay a form input field and submit button.unexplained, lazy programmer, probably funzel
file-pathDisplays a file system path. The file path should use slashes. Defaults to windows.1: file path
graphRender a graph like an organigram or mindmap.unexplained, lazy programmer, probably funzel
helloSay hello example macro.1: name to print
imageDisplays an image file.unexplained, lazy programmer, probably funzel
indexDisplays a list of all snips of the system. Comment snips are filtered out.1: Lister to render snips (optional)
inter-wikiDisplays a list of known InterWiki mappings.none
isbnGenerates links to book dealers or comparison services. Configuration is read from conf/bookservices.txt.1: isbn number
label-searchShow all snips that have a certain label.1: labels that should be searched
last-loginShow the last login of the user.1: login name
last-visitShow the last login of the user, which usually is the last logout time.1: login name
linkGenerate a weblink.unexplained, lazy programmer, probably funzel
list-of-macrosDisplays a list of available macros.unexplained, lazy programmer, probably funzel
list-of-usersDisplays a list of all users.unexplained, lazy programmer, probably funzel
loginsDisplays all currently logged in users and guests.1: Lister to render users (optional)
mailtoDisplays an email address.1: mail address
noteRender a footnote. Not fully implemented and does not work.unexplained, lazy programmer, probably funzel
online-timeDisplays the time since SnipSnap is online.none
quoteDisplay quotations.1: source (optional)
2: displayed description, default is Source (optional)
recent-changesDisplays a list of recently changes snips.1: number of snips to show, defaults to 10 (optional)
2: Lister to render users (optional)
recent-weblogDisplays a list of recently changed weblogs. Only works when the weblogs ping your site.1: Lister to render weblogs (optional)
2: number of weblogs to show, defaults to 10 (optional)
rfcGenerates links to RFCs.unexplained, lazy programmer, probably funzel
searchSearch for snips containing the word.1: string to search
2: number of hits to show, defaults to 10 (optional)
since-last-visitShow all snips that have been changed since the last visit of the user.1: login name
2: Lister to render snips (optional)
snip-countDisplay the number of snips.none
snip-count-by-userDisplay the number of snips an user wrote.1: login name
snip-treeShow a tree of snips from the namespace.1: Namespace prefix
sniplinksRenders a table of sniplinks for the snip.unexplained, lazy programmer, probably funzel
snips-by-hotnessDisplays a list of snips sorted by their "hotness" (view count).1: number of snips to show, defaults to 10 (optional)
snips-by-userShow all snips created by a specified user.1: login name
tableDisplays a table.none
user-countDisplay the number of users.none
versionDisplays the SnipSnap version.none
weblogRenders the sub-snips from the namespace as a weblog.1: number of shown posts (optional)
xrefGenerates links to Java Xref source code.1: class name, e.g. java.lang.Object or java.lang.Object@Nanning
2: line number (optional)
Please login to post a comment.
community.moertel.com | Copyright © 2003–07 Moertel Consulting