GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CMARK (1)

NAME

cmark - convert CommonMark formatted text to HTML

CONTENTS

SYNOPSIS

cmark [options] file*

DESCRIPTION

cmark converts Markdown formatted plain text to either HTML, groff man, CommonMark XML, LaTeX, or CommonMark, using the conventions described in the CommonMark spec. It reads input from stdin or the specified files (concatenating their contents) and writes output to stdout.

OPTIONS

--to, -t I]FORMAT]
  Specify output format (C]html], C]man], C]xml], C]latex], C]commonmark]).
--width I]WIDTH]
  Specify a column width to which to wrap the output. For no wrapping, use the value 0 (the default). This option currently only affects the commonmark, latex, and man renderers.
--sourcepos Include source position attribute.
--hardbreaks Treat newlines as hard line breaks. If this option is specified, hard wrapping is disabled, regardless of the value given with --width.
--normalize Consolidate adjacent text nodes.
--validate-utf8
  Validate UTF-8, replacing illegal sequences with U+FFFD.
--smart Use smart punctuation. Straight double and single quotes will be rendered as curly quotes, depending on their position. C]--] will be rendered as an en-dash. C]---] will be rendered as an em-dash. C]...] will be rendered as ellipses.
--safe Do not render raw HTML or potentially dangerous URLs. (Raw HTML is replaced by a placeholder comment; potentially dangerous URLs are replaced by empty strings.) Dangerous URLs are those that begin with ‘javascript:‘, ‘vbscript:‘, ‘file:‘, or ‘data:‘ (except for ‘image/png‘, ‘image/gif‘, ‘image/jpeg‘, or ‘image/webp‘ mime types).
--help Print usage information.
--version Print version.

AUTHORS

John MacFarlane, Vicent Marti, Kārlis Gaņģis, Nick Wellnhofer.

SEE ALSO

CommonMark spec: C]http://spec.commonmark.org].

Search for    or go to Top of page |  Section 1 |  Main Index


LOCAL CMARK (1) March 24, 2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.