From 6ed8fb30b8b6b70c1f9a2ff5651d6a4892060db9 Mon Sep 17 00:00:00 2001 From: Einer von Vielen Date: Sat, 14 Feb 2015 20:33:51 +0100 Subject: Changed bb code [toc] to make it more flexible This usage is know closer to the original usage of http://ndabas.github.io/toc/ Changed: - jquery.toc.js: Do not check for empty headings - bbcode.php: Added processing of [toc] with parameters - main.js: Use the default params for jquery.toc.js - bbcode.html: Added more help for [toc] and corrected some html --- doc/bbcode.html | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) (limited to 'doc/bbcode.html') diff --git a/doc/bbcode.html b/doc/bbcode.html index f0b61b33c..f75b1c90b 100644 --- a/doc/bbcode.html +++ b/doc/bbcode.html @@ -49,26 +49,31 @@

Red Matrix specific codes

+
  • [observer=1]Text to display if observer is authenticated in the matrix[/observer]
  • +
  • [observer=0]Text to display if observer is not authenticated in the matrix[/observer]
  • +
  • [observer.baseurl] website of observer
  • +
  • [observer.url] channel URL of observer
  • +
  • [observer.name] name of observer
  • +
  • [observer.address] address (zot-id) of observer
  • +
  • [observer.photo] profile photo of observer
  • +
  • [spoiler] for hiding spoilers

  • + +
  • [rpost=title]Text to post[/rpost] The observer will be returned to their home hub to enter a post with the specified title and body. Both are optional
  • +
  • [qr]text to post[/qr] - create a QR code.
  • +
  • [toc] - create a table of content in a webpage. Please refer to the original jquery toc to get more explanations. + +
  • + +

    These require a suitable map plugin/addon such as openstreetmap or else the result will be blank