Style

Contact

Markdown Hosing - Register Now!

Home > Authoring > Guide > Style | Japanese

Style Marker

The Style Marker inserts a style specification in a Markdown source.

Two types of styles can be specified:

Style Class

The Style Marker inserts a HTML DIV tag pair at a point where it sees one of the following markers.

Syntax Description Example Output
{class} Insert an HTML DIV tag with a specified stylesheet class {center} <div class="center">
{end} Inserts an ending DIV tag {end} </div>

Start the marker at the beginning of a line. Do not add anything following the marker.

The style class, class, should be defined in a stylesheet that will be read by a converted HTML file.

Example: class definition

 .center { text-align: center }

Example: use of style class

 {center}
 This paragraph is centered.
 {end}

Pre-defined Style

The current version of Style.pm contains the following style specification

Syntax Description
{leftcol} Starts the left column of a double column block.
{rightcol} Starts the right column of the double column block.
{end} Ends the double column block.

Example:

 {leftcol}
 Left side of the double column block.
 {rightcol}
 Right side of the double column block.
 {end}

How this is shown:

Left side of the double column block.

Right side of the double column block.

Presented by Kobu.Com

2020-oct-09 written

Contact