Welcome

BoltWire is a content management system developed by Dan Vis.

Welcome Tour
Documentation
Mailing List



Popular Posts

Version 5.11 Released
May 26, 2016

Big Changes Coming Soon...
April 28, 2016

Catching Up
April 6, 2016



Other Sites

Here's some other sites by Dan Vis:

Alexa Echoes
Join my adventures developing for Amazons exciting new voice platform.

Firefly Spot
Personal rambling about new gadgets, technology news, and space travel.

FAST Missions
My ministry hub, with news and updates about our online school.

You can follow him at www.danvis.info.

Markup Notes

Documentation > Concepts > Markup Notes

Most of the markups in BoltWire are simple and straightforward. This page includes a few extra notes.

Symbols

BoltWire comes with a small symbol engine to make it easy to insert various html symbols to your wiki engine. The default symbols include:

(c) => ©
(r) => ®
(t) or (tm) => ™

To define additional symbols, simply add a line like the following to a config file:

$BOLTsymbolIndex['cent'] = '¢';

This will convert (cent) into ยข. Note you can also manually enter the symbols into your wiki by typing its html entity code or it asci code. In this case: ¢ will produce '¢'

Boxes

The box markup allows you to display markup in several formats.

<box> Shows markup processed normally
<code> Shows the source code (no markup processed)
<html> Shows the html output of some markup
<markup> Shows the code and the box
<debug> Shows code, html, and box

The Math Shortcut

There is a simple shortcut to the math function you may find helpful:

The following two lines are equivalent:

[(math '2+3')]
{ 2+3 }

Notice the space before and after the math expression.

HTML

Many common HTML tags are allowed in BoltWire. Here's a list:

i, b, u, s, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, sub, sup, big, small, strike, del, strong, em, comment, br, nobr, wbr, fieldset, legend, pre, mark

You can modify this list by copying the appropriate line from variables.php to config.php and modifying as desired.

Nolines

A special <nolines> ... </nolines> markup can be used to disable BoltWire's vertical linespacing for a section of code. This might be useful if you cut and pasted a long email into a page with hardcoded line breaks. Wrap it in this markup, and those line breaks disappear in the output. You will, however, need to put in <p> tags to generate paragraph breaks.

To turn off BoltWire's vertical linespacing for your entire site, set vSpacing: false in site.config. This might be useful if you are trying to replicate wiki-creole for example.

To leave a comment, please login using your Facebook account: