Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Compatibility for Sublime Text 2 and Sublime Text 3

The basic Pandown package will now work in both ST2 and ST3. It's been
tested in both programs, with Pandoc v1.11.1.
  • Loading branch information...
commit cf6c0ce71c67ab6188d318e72f126bef8e139b0a 1 parent 1b848db
Daniel Shannon authored
View
211 .default-pandoc-config-plain.json
@@ -1,108 +1,117 @@
{
"pandoc_arguments":
{
- "escaped_line_breaks": true,
- "blank_before_header": true,
- "header_attributes": true,
- "auto_identifiers": true,
- "implicit_header_references": true,
- "blank_line_before_blockquote": true,
- "fenced_code_blocks": true,
- "line_blocks": true,
- "fancy_lists": true,
- "startnum": true,
- "definition_lists": true,
- "example_lists": true,
- "simple_tables": true,
- "multiline_tables": true,
- "grid_tables": true,
- "pipe_tables": true,
- "table_captions": true,
- "pandoc_title_block": true,
- "all_symbols_escapable": true,
- "intraword_underscores": false,
- "strikeout": true,
- "superscript": true,
- "subscript": true,
- "inline_code_attributes": true,
- "tex_math_dollars": true,
- "raw_html": true,
- "markdown_in_html_blocks": true,
- "raw_tex": true,
- "latex_macros": true,
- "implicit_figures": true,
- "footnotes": true,
- "inline_notes": true,
- "citations": true,
- "hard_line_breaks": false,
- "tex_math_single_backslash": false,
- "tex_math_double_backslash": false,
- "markdown_attribute": false,
- "mmd_title_block": false,
- "abbreviations": false,
- "autolink_bare_urls": false,
- "link_attributes": false,
- "mmd_header_identifiers": false,
- "data_dir": "",
- "markdown_strict": false,
- "parse_raw": true,
- "smart": true,
- "old_dashes": false,
- "base_header_level": 1,
- "indented_code_classes":
- [
- ],
- "normalize": true,
- "tab_stop": 4,
- "standalone": true,
- "template": "",
- "variables":
+ "markdown_extensions":
{
+ "escaped_line_breaks": true,
+ "blank_before_header": true,
+ "header_attributes": true,
+ "auto_identifiers": true,
+ "implicit_header_references": true,
+ "blank_before_blockquote": true,
+ "fenced_code_blocks": true,
+ "line_blocks": true,
+ "fancy_lists": true,
+ "startnum": true,
+ "definition_lists": true,
+ "example_lists": true,
+ "simple_tables": true,
+ "multiline_tables": true,
+ "grid_tables": true,
+ "pipe_tables": true,
+ "table_captions": true,
+ "pandoc_title_block": true,
+ "all_symbols_escapable": true,
+ "intraword_underscores": false,
+ "strikeout": true,
+ "superscript": true,
+ "subscript": true,
+ "inline_code_attributes": true,
+ "tex_math_dollars": true,
+ "raw_html": true,
+ "markdown_in_html_blocks": true,
+ "raw_tex": true,
+ "latex_macros": true,
+ "implicit_figures": true,
+ "footnotes": true,
+ "inline_notes": true,
+ "citations": true,
+ "hard_line_breaks": false,
+ "tex_math_single_backslash": false,
+ "tex_math_double_backslash": false,
+ "markdown_attribute": false,
+ "mmd_title_block": false,
+ "abbreviations": false,
+ "autolink_bare_uris": false,
+ "link_attributes": false,
+ "mmd_header_identifiers": false
},
- "no_wrap": false,
- "columns": -1,
- "table_of_contents": false,
- "no_highlight": false,
- "highlight_style": "",
- "include_in_header": [],
- "include_before_body": [],
- "include_after_body": [],
- "self_contained": false,
- "ascii": false,
- "html_q_tags": false,
- "reference_links": false,
- "atx_headers": false,
- "chapters": false,
- "number_sections": false,
- "no_tex_ligatures": false,
- "listings": false,
- "incremental": false,
- "slide_level": -1,
- "section_divs": false,
- "email_obfuscation": "",
- "id_prefix": "",
- "title_prefix": "",
- "css":
- [
- ],
- "reference_odt": "",
- "reference_docx": "",
- "epub_stylesheet": "",
- "epub_coverimage": "",
- "epub_metadata": "",
- "epub_embed_font": "",
- "latex_engine": "",
- "bibliography": "",
- "csl": "",
- "citation_abbreviations": "",
- "natbib": false,
- "biblatex": false,
- "gladtex": false,
- "latexmathml": false,
- "mathml": false,
- "jsmath": false,
- "mathjax": false,
- "mimetex": false,
- "webtex": false
+ "command_arguments":
+ {
+ "data-dir": "",
+ "parse-raw": true,
+ "smart": true,
+ "old-dashes": false,
+ "base-header-level": false,
+ "indented-code-classes":
+ [
+ ],
+ "default-image-extension": "",
+ "normalize": true,
+ "tab-stop": 4,
+ "standalone": true,
+ "template": "",
+ "variables":
+ {
+ },
+ "no-wrap": false,
+ "columns": false,
+ "table-of-contents": false,
+ "no-highlight": false,
+ "highlight-style": "pygments",
+ "include-in-header": [],
+ "include-before-body": [],
+ "include-after-body": [],
+ "self-contained": false,
+ "html-q-tags": false,
+ "ascii": false,
+ "reference-links": false,
+ "atx-headers": false,
+ "chapters": false,
+ "number-sections": false,
+ "number-offset":
+ [
+ ],
+ "no-tex-ligatures": false,
+ "listings": false,
+ "incremental": false,
+ "slide-level": false,
+ "section-divs": false,
+ "email-obfuscation": "references",
+ "id-prefix": "",
+ "title-prefix": "",
+ "css":
+ [
+ ],
+ "reference-odt": "",
+ "reference-docx": "",
+ "epub-stylesheet": "",
+ "epub-coverimage": "",
+ "epub-metadata": "",
+ "epub-embed-font": "",
+ "latex-engine": "",
+ "bibliography": "",
+ "csl": "",
+ "citation-abbreviations": "",
+ "natbib": false,
+ "biblatex": false,
+ "gladtex": false,
+ "latexmathml": false,
+ "mathml": false,
+ "jsmath": false,
+ "mathjax": false,
+ "mimetex": false,
+ "webtex": false
+ }
}
}
View
2  Default.sublime-commands
@@ -4,7 +4,7 @@
"command": "pandown_touch_project_config"
},
{
- "caption": "Pandown: Build Markdown to Window",
+ "caption": "Pandown: Build to Window",
"command": "pandown_build",
"args": { "to_window": true}
}
View
4 Main.sublime-menu
@@ -18,7 +18,7 @@
{
"command": "open_file", "args":
{
- "file": "${packages}/Pandown/README.mdown"
+ "file": "${packages}/Pandown3/README.mdown"
},
"caption": "README"
},
@@ -28,7 +28,7 @@
{
"command": "open_file", "args":
{
- "file": "${packages}/Pandown/Pandown.sublime-settings"
+ "file": "${packages}/Pandown3/Pandown.sublime-settings"
},
"caption": "Settings – Default"
},
View
830 Pandown.sublime-settings
@@ -30,413 +30,445 @@
// cannot be opened in Sublime.
"always_display": false,
+ // Pandown includes support for the CriticMarkup extension to Markdown.
+ // For more information, see http://criticmarkup.com.
+ "preprocess_critic": false,
+
// There's really no need to make any changes here; the preferred way to set
// all of this is in Packages/User/Pandown.sublime-settings, or in an individual
// project's pandoc-config.json file. If you haven't yet, take a look at
// the readme for information about configuring these options.
"pandoc_arguments":
{
- /////////////////////////
- // MARKDOWN EXTENSIONS //
- /////////////////////////
- // A backslash followed by a newline is also a line break.
- "escaped_line_breaks": true,
-
- // Require a blank line before a header.
- "blank_before_header": true,
-
- // Headers can be assigned attributes using this syntax at the end of
- // the line containing the header text:
- // {#identifier .class .class key=value key=value}
- "header_attributes": true,
-
- // A header without specified attributes will automatically be assigned
- // a unique identifier based on the header text.
- "auto_identifiers": true,
-
- // Pandoc assumes header references have been defined for each header.
- "implicit_header_references": true,
-
- // Require a blank line before block quotes. In nested blockquotes,
- // require:
- // > Quotation
- // >
- // > > Quotation within quotation.
- "blank_line_before_blockquote": true,
-
- // Fence code blocks off with tildes or backticks.
- "fenced_code_blocks": true,
-
- // Start lines with pipe characters to and the division into lines and
- // leading whitespace will be preserved. Useful for setting verse and
- // addresses.
- "line_blocks": true,
-
- // Pandoc allows fancier numbering using uppercase letters, lowercase
- // letters and Roman numerals. List markers may be enclosed in parentheses
- // or followed by a single right-parenthesis or period, then two spaces.
- "fancy_lists": true,
-
- // Pandoc will pay attention to the starting number for each list.
- "startnum": true,
-
- // Pandoc supports definition lists; see documentation here for the
- // correct syntax: http://johnmacfarlane.net/pandoc/README.html#definition-lists
- "definition_lists": true,
-
- // The list marker (@) can be used to sequentially number examples in
- // a way that persists throughout the document.
- "example_lists": true,
-
- // Pandoc supports four kinds of tables, the syntax for which is given at:
- // http://johnmacfarlane.net/pandoc/README.html#tables.
- "simple_tables": true,
- "multiline_tables": true,
- "grid_tables": true,
- "pipe_tables": true,
-
- // A table caption is a paragraph beginning with the string "Table:" or a
- // colon alone. It may be placed at the beginning or end of a table.
- "table_captions": true,
-
- // Pandoc allows the inclusion of a title block that will not appear in
- // the body of the document:
- // % Title
- // % Author(s) (separated by semicolons)
- // % Date
- "pandoc_title_block": true,
-
- // A backslash may be used to escape any Markdown symbol.
- "all_symbols_escapable": true,
-
- // Using underscores within a word for emphasis is disabled by
- // default. Use * instead.
- "intraword_underscores": false,
-
- // To strike letters in your text, surround them with ~~two tildes~~.
- "strikeout": true,
-
- // Superscripts may be written by surrounding text with ^ characters,
- // subscripts by surrounding text with ~ characters. Escape spaces within
- // scripts using \ .
- "superscript": true,
- "subscript": true,
-
- // Add attribtues, including syntax highlighting, to inline code.
- "inline_code_attributes": true,
-
- // Text between two $ characters will be rendered as LaTeX math.
- "tex_math_dollars": true,
-
- // The default behavior in Markdown allows you to insert raw HTML
- // anywhere in a document.
- "raw_html": true,
-
- // By default, Pandoc interprets Markdown in blocks of HTML as Markdown.
- // This deviates from Markdown.pl's default behavior.
- "markdown_in_html_blocks": true,
-
- // Pandoc allows raw TeX to be passed in addition to raw HTML.
- "raw_tex": true,
-
- // If set to `true`, Pandoc will use \newcommand and \renewcommand
- // definitions in all LaTeX math blocks.
- "latex_macros": true,
-
- // An image occurring by itself in a paragraph will be rendered as a
- // figure with a caption: ![This is the caption](path/to/image.jpg)
- "implicit_figures": true,
-
- // Pandoc will parse footnotes in the syntax listed here:
- // http://johnmacfarlane.net/pandoc/README.html#footnotes
- "footnotes": true,
- "inline_notes": true,
-
- // Use the syntax given here for citations:
- // http://johnmacfarlane.net/pandoc/README.html#citations
- "citations": true,
-
- // All newlines within a paragraph will be interpreted as linebreaks
- // rather than spaces.
- "hard_line_breaks": false,
-
- // Anything between \( and \) will be interpreted as TeX inline math,
- // and anything between \[ and \] as TeX display math.
- "tex_math_single_backslash": false,
-
- // Same as above, but escaped with two backslashes.
- "tex_math_double_backslash": false,
-
- // Markdown is only parsed within block-level tags if `markdown=1` is
- // set in their attributes.
- "markdown_attribute": false,
-
- // Enables a MultiMarkdown-style title block:
- // Title: My Title
- // Author: Arthur Author
- // Date: January 1, 2013
- // Comment: This is a mmd title block, and it even includes
- // a field spanning multiple lines.
- "mmd_title_block": false,
-
- // Skip PHP Markdown Extra abbreviation keys instead of parsing them
- // as paragraphs if set to `true`.
- "abbreviations": false,
-
- // Makes all absolute URLs into links, even when not enclosed in <...>.
- "autolink_bare_urls": false,
-
- // Parse (but ignore, at the moment) MMD-style key--value attribtues
- // in image and link references.
- "link_attributes": false,
-
- // Parses MMD-style header identifiers (in square brackets between header
- // text and closing ATX #s.
- "mmd_header_identifiers": false,
-
-
-
-
-
- ////////////////////////////
- // COMMAND-LINE ARGUMENTS //
- ////////////////////////////
- // Modify this setting to tell Pandoc to look for any of the following
- // in the specified directory rather than ~/.pandoc or Pandoc's default
- // directory tree. Note that this is not an all-purpose includes
- // directory---Pandoc will only look for these files and folders.
- // data_dir/
- // reference.odt
- // reference.docx
- // default.csl
- // epub.css
- // slidy/
- // slideous/
- // s5/
- // templates/
- // Anything placed under templates will be found by the "template"
- // setting; otherwise, to set an include directory, use the "includes_paths"
- // option.
- "data_dir": "",
-
- // "Parse untranslatable HTML codes and LaTeX environments as
- // raw HTML or LaTeX, instead of ignoring them."
- "parse_raw": true,
-
- // Straight quotes into curly quotes, --- to em-dash, -- to en-dash,
- // ... to ellipsis, nonbreaking spaces after certain abbreviations.
- "smart": true,
-
- // - before a numeral to en-dash, -- to em-dash
- "old_dashes": false,
-
- // "Speficy the base level for headers"
- "base_header_level": 1,
-
- // Apply code classes to all indented code blocks. N.B.:
- // does not apply to fenced code, which must still be
- // configured inline.
- // MUST BE DEFINED AS A LIST, EVEN IF EMPTY. This is correct:
- // "indented_code_classes": [],
- // and so is this:
- // "indented_code_classes": [ "numberLines" ],
- // but this is not:
- // "indented_code_classes": "numberLines"
- "indented_code_classes":
- [
- ],
-
- // Merge adjacent elements, remove repeated spaces, etc.
- "normalize": true,
-
- // Set the number of spaces per tab.
- "tab_stop": 4,
-
- // Generate "an appropriate header and footer"
- "standalone": true,
-
- // Use a template file other than the default to
- // generate output. Pandoc will look for a template in the
- // working directory, then data_dir/templates/, then its
- // built-in directory tree.
- // See Pandoc's README for information about templates:
- // http://johnmacfarlane.net/pandoc/README.html#templates
- "template": "",
-
- // Supply a dict of keys and values to be passed to
- // the template file. Values may be lists
- // if your template includes loops; see this plugin's README.
- "variables":
+ //////////////////////////////////////////////////////////////////////
+ // Arguments are explained in Pandoc's documentation: //
+ // http://johnmacfarlane.net/pandoc/README.html . //
+ // The contents of this file will be merged with the package's //
+ // Pandown.sublime-settings file, the user's Pandown.sublime-settings/
+ // file, and local project settings, with what's specified here //
+ // taking precedence. For more information about how to use this //
+ // file, please see the Pandown README. //
+ //////////////////////////////////////////////////////////////////////
+ "markdown_extensions":
{
+ /////////////////////////
+ // MARKDOWN EXTENSIONS //
+ /////////////////////////
+ // A backslash followed by a newline is also a line break.
+ "escaped_line_breaks": true,
+
+ // Require a blank line before a header.
+ "blank_before_header": true,
+
+ // Headers can be assigned attributes using this syntax at the end of
+ // the line containing the header text:
+ // {#identifier .class .class key=value key=value}
+ "header_attributes": true,
+
+ // A header without specified attributes will automatically be assigned
+ // a unique identifier based on the header text.
+ "auto_identifiers": true,
+
+ // Pandoc assumes header references have been defined for each header.
+ "implicit_header_references": true,
+
+ // Require a blank line before block quotes. In nested blockquotes,
+ // require:
+ // > Quotation
+ // >
+ // > > Quotation within quotation.
+ "blank_before_blockquote": true,
+
+ // Fence code blocks off with tildes or backticks.
+ "fenced_code_blocks": true,
+
+ // Start lines with pipe characters to and the division into lines and
+ // leading whitespace will be preserved. Useful for setting verse and
+ // addresses.
+ "line_blocks": true,
+
+ // Pandoc allows fancier numbering using uppercase letters, lowercase
+ // letters and Roman numerals. List markers may be enclosed in parentheses
+ // or followed by a single right-parenthesis or period, then two spaces.
+ "fancy_lists": true,
+
+ // Pandoc will pay attention to the starting number for each list.
+ "startnum": true,
+
+ // Pandoc supports definition lists; see documentation here for the
+ // correct syntax: http://johnmacfarlane.net/pandoc/README.html#definition-lists
+ "definition_lists": true,
+
+ // The list marker (@) can be used to sequentially number examples in
+ // a way that persists throughout the document.
+ "example_lists": true,
+
+ // Pandoc supports four kinds of tables, the syntax for which is given at:
+ // http://johnmacfarlane.net/pandoc/README.html#tables.
+ "simple_tables": true,
+ "multiline_tables": true,
+ "grid_tables": true,
+ "pipe_tables": true,
+
+ // A table caption is a paragraph beginning with the string "Table:" or a
+ // colon alone. It may be placed at the beginning or end of a table.
+ "table_captions": true,
+
+ // Pandoc allows the inclusion of a title block that will not appear in
+ // the body of the document:
+ // % Title
+ // % Author(s) (separated by semicolons)
+ // % Date
+ "pandoc_title_block": true,
+
+ // A backslash may be used to escape any Markdown symbol.
+ "all_symbols_escapable": true,
+
+ // Using underscores within a word for emphasis is disabled by
+ // default. Use * instead.
+ "intraword_underscores": false,
+
+ // To strike letters in your text, surround them with ~~two tildes~~.
+ "strikeout": true,
+
+ // Superscripts may be written by surrounding text with ^ characters,
+ // subscripts by surrounding text with ~ characters. Escape spaces within
+ // scripts using \ .
+ "superscript": true,
+ "subscript": true,
+
+ // Add attribtues, including syntax highlighting, to inline code.
+ "inline_code_attributes": true,
+
+ // Text between two $ characters will be rendered as LaTeX math.
+ "tex_math_dollars": true,
+
+ // The default behavior in Markdown allows you to insert raw HTML
+ // anywhere in a document.
+ "raw_html": true,
+
+ // By default, Pandoc interprets Markdown in blocks of HTML as Markdown.
+ // This deviates from Markdown.pl's default behavior.
+ "markdown_in_html_blocks": true,
+
+ // Pandoc allows raw TeX to be passed in addition to raw HTML.
+ "raw_tex": true,
+
+ // If set to `true`, Pandoc will use \newcommand and \renewcommand
+ // definitions in all LaTeX math blocks.
+ "latex_macros": true,
+
+ // An image occurring by itself in a paragraph will be rendered as a
+ // figure with a caption: ![This is the caption](path/to/image.jpg)
+ "implicit_figures": true,
+
+ // Pandoc will parse footnotes in the syntax listed here:
+ // http://johnmacfarlane.net/pandoc/README.html#footnotes
+ "footnotes": true,
+ "inline_notes": true,
+
+ // Use the syntax given here for citations:
+ // http://johnmacfarlane.net/pandoc/README.html#citations
+ "citations": true,
+
+ // All newlines within a paragraph will be interpreted as linebreaks
+ // rather than spaces.
+ "hard_line_breaks": false,
+
+ // Anything between \( and \) will be interpreted as TeX inline math,
+ // and anything between \[ and \] as TeX display math.
+ "tex_math_single_backslash": false,
+
+ // Same as above, but escaped with two backslashes.
+ "tex_math_double_backslash": false,
+
+ // Markdown is only parsed within block-level tags if `markdown=1` is
+ // set in their attributes.
+ "markdown_attribute": false,
+
+ // Enables a MultiMarkdown-style title block:
+ // Title: My Title
+ // Author: Arthur Author
+ // Date: January 1, 2013
+ // Comment: This is a mmd title block, and it even includes
+ // a field spanning multiple lines.
+ "mmd_title_block": false,
+
+ // Skip PHP Markdown Extra abbreviation keys instead of parsing them
+ // as paragraphs if set to `true`.
+ "abbreviations": false,
+
+ // Makes all absolute URLs into links, even when not enclosed in <...>.
+ "autolink_bare_uris": false,
+
+ // Parse (but ignore, at the moment) MMD-style key--value attribtues
+ // in image and link references.
+ "link_attributes": false,
+
+ // Parses MMD-style header identifiers (in square brackets between header
+ // text and closing ATX #s.
+ "mmd_header_identifiers": false
},
- // By default, text is wrapped for the output format.
- "no_wrap": false,
-
- // If wrapping text, wrap to "columns" columns.
- "columns": -1,
-
- // Generate and include a table of contents.
- "table_of_contents": false,
-
- // Disable syntax highlighting globally.
- "no_highlight": false,
-
- // Style to use for syntax highlighting.
- // Valid highlight_style values:
- // "pygments" (default), "kate", "monochrome",
- // "espresso", "zenburn", "haddock", "tango"
- "highlight_style": "",
-
-
- // Supply lists of files---NOT single file names---to include verbatim in the output.
- // This is correct:
- // "include_in_header": [ "myfile" ]
- // and this is not:
- // "include_in_header": "myfile"
- // Default templates support multiple includes.
- // Insert just before </head>
- "include_in_header": [],
- // Insert just after <body>
- "include_before_body": [],
- // Insert includes just before </body>
- "include_after_body": [],
-
- // Convert includes to 'data:' URIs so that the
- // output can be viewed offline.
- "self_contained": false,
-
- // In HTML output ONLY, restrict to ASCII characters
- // with numerical HTML entities.
- "ascii": false,
-
- // Use <q> tags in HTML5 output.
- "html_q_tags": false,
-
- // When outputting Markdown, use reference-style links (e.g. [go here!][1])
- // rather than inline (e.g. [go here!](http://place.the) ).
- "reference_links": false,
-
- // Force use of ATX-style headers ("# H1", "## H2", etc.) in output.
- // The default is to use a combination, with setext-style headers:
- // H1
- // ===
- //
- // for H1 and H2, then ATX.
- "atx_headers": false,
-
- // Top-level headers become TeX/Docbook chapters.
- "chapters": false,
-
- // Generate section numbers.
- "number_sections": false,
-
- // "Do not convert quotation marks, apostrophes, and dashes to the TeX ligatures"
- "no_tex_ligatures": false,
-
- // Use listings package for TeX code
- "listings": false,
-
- // In slideshow output, display list items one slide at a time.
- "incremental": false,
-
- // Header level at which to break slides. Above breaks sections, below
- // creates subheads. Normally set based on context of document.
- // See: http://johnmacfarlane.net/pandoc/README.html#structuring-the-slide-show
- "slide_level": -1,
-
- // Enclose sections in <div> or <section> tags, attach "id" attributes based on
- // the section name.
- "section_divs": false,
-
- // Conceal mailto: links from robots.
- // Acceptable values: "none", "javascript", "references"
- "email_obfuscation": "",
-
- // "Specify a prefix to be added to all automatically generated identifiers
- // in HTML output. This is useful for preventing duplicate identifiers when
- // generating fragments to be included in other pages."
- "id_prefix": "",
-
- // Insert a string before the header title tag but not the body title
- "title_prefix": "",
-
- // Link to any number of CSS stylesheets
- // without triggering the standalone include features.
- "css":
- [
- ],
-
- // "Use the specified file as a style reference in producing a [desired] file.
- // For best results, the reference [file] should be a modified version of
- // a [desired] file produced using pandoc."
- "reference_odt": "",
- "reference_docx": "",
-
- // "Use the specified CSS file to style the EPUB. If no stylesheet is specified,
- // pandoc will look for a file epub.css in the user data directory (see --data-dir).
- // If it is not found there, sensible defaults will be used."
- "epub_stylesheet": "",
-
- // Set cover to a specified image.
- "epub_coverimage": "",
-
- // Link to an XML file containing EPUB metadata in Dublin Core Elements format.
- // See http://dublincore.org/documents/dces/
- "epub_metadata": "",
-
- // Use the stylesheet specified to embed fonts. Should contain a series of
- // @font-face elements and CSS describing where they're to be used.
- "epub_embed_font": "",
-
- // Appropriate values: "pdflatex" (default), "xelatex", "lulalatex"
- "latex_engine": "",
-
- // Specify bibliography database to be used in resolving citations. The database
- // type will be determined from the extension of FILE, which may be .mods (MODS format),
- // .bib (BibTeX/BibLaTeX format), .ris (RIS format), .enl (EndNote format), .xml (EndNote XML format),
- // .wos (ISI format), .medline (MEDLINE format), .copac (Copac format), or .json (citeproc JSON).
- // If you want to use multiple bibliographies, just use this option repeatedly.
- "bibliography": "",
-
- // Link to a CSL (http://citationstyles.org) file for formatting citations.
- "csl": "",
-
- // "Specify a file containing abbreviations for journal titles and other
- // bibliographic fields (indicated by setting form="short" in the CSL node
- // for the field). The format is described at
- // http://citationstylist.org/2011/10/19/abbreviations-for-zotero-test-release/"
- "citation_abbreviations": "",
-
- // Use natbib for LaTeX citations.
- "natbib": false,
-
- // Use BibLaTeX for LaTeX citations.
- "biblatex": false,
-
-
- // Place TeX math between <eq> tags in HTML output.
- "gladtex": false,
-
- // Each of the following can be false, true, or a URL string.
- // Setting to a URL string implies true.
- // Use http://math.etsu.edu/LaTeXMathML/ to format TeX math. If no URL
- // is specified, Pandoc will insert the code for you.
- "latexmathml": false,
- // Convert TeX math to MathML and include a JavaScript to display.
- "mathml": false,
- // Use http://www.math.union.edu/~dpvc/jsmath/ for TeX math. URL must point
- // to its load script, which will not be automatically added by Pandoc.
- "jsmath": false,
- // Use http://www.mathjax.org/ for TeX math. URL must point to MathJax.jds
- // load script. If no URL is provided, Pandoc script will add one.
- "mathjax": false,
- // Render TeX math with mimetex (http://www.forkosh.com/mimetex.html). If no
- // URL is supplied, /cgi-bin/mimetex.cgi is assumed.
- "mimetex": false,
- // Render TeX formulas using an external script that converts TeX formulas
- // to images. The formula will be concatenated with the URL provided.
- // If URL is not specified, the Google Chart API will be used.
- "webtex": false
+
+
+
+ "command_arguments":
+ {
+ ////////////////////////////
+ // COMMAND-LINE ARGUMENTS //
+ ////////////////////////////
+ // Modify this setting to tell Pandoc to look for any of the following
+ // in the specified directory rather than ~/.pandoc or Pandoc's default
+ // directory tree. Note that this is not an all-purpose includes
+ // directory---Pandoc will only look for these files and folders.
+ // data_dir/
+ // reference.odt
+ // reference.docx
+ // default.csl
+ // epub.css
+ // slidy/
+ // slideous/
+ // s5/
+ // templates/
+ // Anything placed under templates and will be found by the "template"
+ // setting; otherwise, to set an include directory, use the "includes_paths"
+ // option above.
+ "data-dir": "",
+
+ // "Parse untranslatable HTML codes and LaTeX environments as
+ // raw HTML or LaTeX, instead of ignoring them."
+ "parse-raw": true,
+
+ // Straight quotes into curly quotes, --- to em-dash, -- to en-dash,
+ // ... to ellipsis, nonbreaking spaces after certain abbreviations.
+ "smart": true,
+
+ // - before a numeral to en-dash, -- to em-dash
+ "old-dashes": false,
+
+ // "Speficy the base level for headers"
+ // Specify a number or "false" to disable.
+ "base-header-level": false,
+
+ // Apply code classes to all indented code blocks. N.B.:
+ // does not apply to fenced code, which must still be
+ // configured inline.
+ // MUST BE DEFINED AS A LIST, EVEN IF EMPTY. This is correct:
+ // "indented-code-classes": [],
+ // and so is this:
+ // "indented-code-classes": [ "numberLines" ],
+ // but this is not:
+ // "indented-code-classes": "numberLines"
+ "indented-code-classes":
+ [
+ ],
+
+ // When image paths or URLs have no extension, this one
+ // will be used.
+ "default-image-extension": "",
+
+ // Merge adjacent elements, remove repeated spaces, etc.
+ "normalize": true,
+
+ // Set the number of spaces per tab.
+ "tab-stop": 4,
+
+ // Generate "an appropriate header and footer"
+ "standalone": true,
+
+ // Use a template file other than the default to
+ // generate output. Pandoc will look for a template in the
+ // working directory, then data_dir/templates/, then its
+ // built-in directory tree.
+ // See Pandoc's README for information about templates:
+ // http://johnmacfarlane.net/pandoc/README.html#templates
+ "template": "",
+
+ // Supply a dict of keys and values to be passed to
+ // the template file. Values may be lists
+ // if your template includes loops; see this plugin's README.
+ "variables":
+ {
+ },
+
+ // By default, text is wrapped for the output format.
+ "no-wrap": false,
+
+ // If wrapping text, wrap to "columns" columns.
+ // Specify a number or "false" to disable.
+ "columns": false,
+
+ // Generate and include a table of contents.
+ "table-of-contents": false,
+
+ // Disable syntax highlighting globally.
+ "no-highlight": false,
+
+ // Style to use for syntax highlighting.
+ // Valid highlight_style values:
+ // "pygments" (default), "kate", "monochrome",
+ // "espresso", "zenburn", "haddock", "tango"
+ "highlight-style": "pygments",
+
+
+ // Supply lists of files---NOT single file names---to include verbatim in the output.
+ // This is correct:
+ // "include_in_header": [ "myfile" ]
+ // and this is not:
+ // "include_in_header": "myfile"
+ // Default templates support multiple includes.
+ // Insert just before </head>
+ "include-in-header": [],
+ // Insert just after <body>
+ "include-before-body": [],
+ // Insert includes just before </body>
+ "include-after-body": [],
+
+ // Convert includes to 'data:' URIs so that the
+ // output can be viewed offline.
+ "self-contained": false,
+
+ // Use <q> tags for quotes in HTML5 output
+ "html-q-tags": false,
+
+ // In HTML output ONLY, restrict to ASCII characters
+ // with numerical HTML entities.
+ "ascii": false,
+
+ // When outputting Markdown, use reference-style links (e.g. [go here!][1])
+ // rather than inline (e.g. [go here!](http://place.the) ).
+ "reference-links": false,
+
+ // Force use of ATX-style headers ("# H1", "## H2", etc.) in output.
+ // The default is to use a combination, with setext-style headers:
+ // H1
+ // ===
+ //
+ // for H1 and H2, then ATX.
+ "atx-headers": false,
+
+ // Top-level headers become TeX/Docbook chapters.
+ "chapters": false,
+
+ // Generate section numbers.
+ "number-sections": false,
+
+ // Sections in HTML output can be offset by a fixed number.
+ // The first number is added to the output for top-level
+ // headings, the second number to second-level headings,
+ // etc. Must be specified as a list.
+ "number-offset":
+ [
+ ],
+
+ // "Do not convert quotation marks, apostrophes, and dashes to the TeX ligatures"
+ "no-tex-ligatures": false,
+
+ // Use listings package for TeX code
+ "listings": false,
+
+ // In slideshow output, display list items one slide at a time.
+ "incremental": false,
+
+ // Header level at which to break slides. Above breaks sections, below
+ // creates subheads. Normally set based on context of document.
+ // See: http://johnmacfarlane.net/pandoc/README.html#structuring-the-slide-show
+ "slide-level": false,
+
+ // Enclose sections in <div> or <section> tags, attach "id" attributes based on
+ // the section name.
+ "section-divs": false,
+
+ // Conceal mailto: links from robots.
+ // Acceptable values: "none", "javascript", "references"
+ "email-obfuscation": "references",
+
+ // "Specify a prefix to be added to all automatically generated identifiers
+ // in HTML output. This is useful for preventing duplicate identifiers when
+ // generating fragments to be included in other pages."
+ "id-prefix": "",
+
+ // Insert a string before the header title tag but not the body title
+ "title-prefix": "",
+
+ // Link to any number of CSS stylesheets
+ // without triggering the standalone include features.
+ "css":
+ [
+ ],
+
+ // "Use the specified file as a style reference in producing a [desired] file.
+ // For best results, the reference [file] should be a modified version of
+ // a [desired] file produced using pandoc."
+ "reference-odt": "",
+ "reference-docx": "",
+
+ // "Use the specified CSS file to style the EPUB. If no stylesheet is specified,
+ // pandoc will look for a file epub.css in the user data directory (see --data-dir).
+ // If it is not found there, sensible defaults will be used."
+ "epub-stylesheet": "",
+
+ // Set cover to a specified image.
+ "epub-coverimage": "",
+
+ // Link to an XML file containing EPUB metadata in Dublin Core Elements format.
+ // See http://dublincore.org/documents/dces/
+ "epub-metadata": "",
+
+ // Use the stylesheet specified to embed fonts. Should contain a series of
+ // @font-face elements and CSS describing where they're to be used.
+ "epub-embed-font": "",
+
+ // Appropriate values: "pdflatex" (default), "xelatex", "lulalatex"
+ "latex-engine": "",
+
+ // Specify bibliography database to be used in resolving citations. The database
+ // type will be determined from the extension of FILE, which may be .mods (MODS format),
+ // .bib (BibTeX/BibLaTeX format), .ris (RIS format), .enl (EndNote format), .xml (EndNote XML format),
+ // .wos (ISI format), .medline (MEDLINE format), .copac (Copac format), or .json (citeproc JSON).
+ // If you want to use multiple bibliographies, just use this option repeatedly.
+ "bibliography": "",
+
+ // Link to a CSL (http://citationstyles.org) file for formatting citations.
+ "csl": "",
+
+ // "Specify a file containing abbreviations for journal titles and other
+ // bibliographic fields (indicated by setting form="short" in the CSL node
+ // for the field). The format is described at
+ // http://citationstylist.org/2011/10/19/abbreviations-for-zotero-test-release/"
+ "citation-abbreviations": "",
+
+ // Use natbib for LaTeX citations.
+ "natbib": false,
+
+ // Use BibLaTeX for LaTeX citations.
+ "biblatex": false,
+
+
+ // Place TeX math between <eq> tags in HTML output.
+ "gladtex": false,
+
+ // Each of the following can be false, true, or a URL string.
+ // Setting to a URL string implies true.
+ // Use http://math.etsu.edu/LaTeXMathML/ to format TeX math. If no URL
+ // is specified, Pandoc will insert the code for you.
+ "latexmathml": false,
+ // Convert TeX math to MathML and include a JavaScript to display.
+ "mathml": false,
+ // Use http://www.math.union.edu/~dpvc/jsmath/ for TeX math. URL must point
+ // to its load script, which will not be automatically added by Pandoc.
+ "jsmath": false,
+ // Use http://www.mathjax.org/ for TeX math. URL must point to MathJax.jds
+ // load script. If no URL is provided, Pandoc script will add one.
+ "mathjax": false,
+ // Render TeX math with mimetex (http://www.forkosh.com/mimetex.html). If no
+ // URL is supplied, /cgi-bin/mimetex.cgi is assumed.
+ "mimetex": false,
+ // Render TeX formulas using an external script that converts TeX formulas
+ // to images. The formula will be concatenated with the URL provided.
+ // If URL is not specified, the Google Chart API will be used.
+ "webtex": false
+ }
}
}
View
27 README.mdown
@@ -1,25 +1,28 @@
-# Pandown Plugin for Sublime Text 2
+# Pandown for Sublime Text 2 and 3
## Introduction
-This package is designed as a complete, versatile, and highly Subliminal [Sublime Text 2](http://sublimetext.com/) build wrapper for [Pandoc][] **version 1.10 or higher**. Written by [Daniel Shannon](http://daniel.sh) and inspired by jclement's [Pandoc (Markdown)](https://github.com/jclement/SublimePandoc) plugin, Pandown is intended to be simple and understandable out of the box but highly customizable behind the scenes. All Pandoc options are configurable, and all input and output formats are theoretically supported, with [Markdown][] implemented most completely.
+This package is designed as a complete, versatile, and highly Subliminal [Sublime Text 2](http://sublimetext.com) and [Sublime Text 3](http://sublimetext.com/3) build wrapper for [Pandoc][] **version 1.10 or higher**. Written by [Daniel Shannon](http://daniel.sh) and inspired by jclement's [Pandoc (Markdown)](https://github.com/jclement/SublimePandoc) plugin, Pandown is intended to be simple and understandable out of the box but highly customizable behind the scenes. All Pandoc options are configurable, and all input and output formats are theoretically supported, with the [Markdown][] reader implemented most completely and some support for the HTML reader.
## Installation
-Since this is just a build script, you'll need to download and install [Pandoc][] **version 1.10 or higher** before it'll be of any use to you. The preferred installation method is through [Sublime Package Control](http://wbond.net/sublime_packages/package_control). Users sufficiently knowledgeable and persnickety to want to use another tactic are assumed to know what to do.
+Since this is just a build script, you'll need to download and install [Pandoc][] **version 1.10 or higher** before it'll be of any use to you. The preferred installation method is through [Sublime Package Control](http://wbond.net/sublime_packages/package_control), but, you can also install it with the "Clone in Mac" and "Download ZIP" buttons above. Clone or copy it to your `Packages` folder and you'll be cooking with gas. You can also use the command line. The commands looks something like this:
+
+ cd <Sublime Packages Directory>
+ git clone git://github.com/phyllisstein/Pandown.git
## Usage
-A [Markdown][] build system, which Pandoc [extends](http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown) in a number of interesting ways, is included with the package; open a Markdown file, set your build system to "Automatic" or "Pandown," and run the build command to generate, by default, an HTML file. Open the Command Palette and search for "Pandown" to see the other options available. Notably, if you have a LaTeX package installed, Pandoc can easily convert your Markdown into a lovely PDF; however, all of the possible outputs have been pre-configured.
+A [Markdown][] build system, which Pandoc [extends](http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown) in a number of interesting ways, is included with the package; open a Markdown file, set your build system to "Automatic" or "Pandown Markdown," and run the build command to generate, by default, an HTML file. Open the Command Palette and search for "Pandown" to see the other options available. Notably, if you have a LaTeX package installed, Pandoc can easily convert your Markdown into a lovely PDF; however, most of of the possible outputs have been pre-configured. A similar build system, though with fewer possible writers, is available for HTML.
-The package also includes a special build command, accessible through the Command Palette: "Pandown: Build Markdown to Window". This mimics the behavior of most of the other Pandoc wrappers extant, in case you're married to it, and attempts to open a new, unsaved buffer with the results of a Pandoc build.
+The package also includes a special build command, accessible through the Command Palette: "Pandown: Build to Window". This mimics the behavior of most of the other Pandoc wrappers extant, in case you're married to it, and attempts to open a new, unsaved buffer with the results of a Pandoc build.
This is, of course, not very much fun: you wouldn't be using Sublime if you didn't want your workflow customized to the hilt, and you wouldn't be using Markdown if you wanted to see the frankly ugly page generated by default. Enter configuration and templates.
### Configuration
-You'll find menu items for Pandown's configuration files under "Preferences&rarr;Package Settings&rarr;Pandown". The Default package settings file is heavily and informatively commented, making it an excellent place to start. Make what changes you'd like in the User settings, which override the defaults, and they'll be reflected on your next build. You can also override both the Default and User settings by changing the `settings` dictionary in your `sublime-project` file.
+You'll find menu items for Pandown's configuration files under "Preferences&rarr;Package Settings&rarr;Pandown". The Default package settings file is heavily and informatively commented, making it an excellent place to start. Make what changes you'd like in the User settings, which override the defaults, and they'll be reflected on your next build.
-However, because it's inconvenient to constantly edit and reload the project file, even though so many of the arguments passed to Pandoc will change from project to project, Pandown features a third way to configure Pandoc. Clicking "Preferences&rarr;Package Settings&rarr;Pandown&rarr;Settings -- Project" or choosing "Pandown: Project Settings" in the Command Palette will place a file called `pandoc-config.json` in your current project folder. Setting the values for the `pandoc_arguments` dictionary there will override the settings in your project file _and_ the settings in your `sublime-settings` files. If a config file does not exist in the same folder as the file you're building, Pandown will check the folders above it until it reaches a main project folder---that is, config files apply to the folder they're placed in and all its subfolders.
+However, because so many of the arguments passed to Pandoc will change from project to project, Pandown features a second way to configure Pandoc. Clicking "Preferences&rarr;Package Settings&rarr;Pandown&rarr;Settings -- Project" or choosing "Pandown: Project Settings" in the Command Palette will place a file called `pandoc-config.json` in your current project folder. Setting the values for the `pandoc_arguments` dictionary there will override the settings in your `sublime-settings` files (though some values, notably lists and dictionaries, will be merged). If a config file does not exist in the same folder as the file you're building, Pandown will check the folders above it until it reaches a main project folder---that is, config files apply to the folder they're placed in and all its subfolders.
And this feature is extra-configurable: once you're familiar enough with the Pandoc options you care about to not need the complete set in each new project, you can place a `pandoc-config.json` file in your `Packages/User` folder and it, rather than the default file, will be copied. You can always delete it to restore the original behavior.
@@ -30,6 +33,9 @@ The basic template from which Pandoc generates its HTML is just that: basic. And
Even more kindly, Brett has given the go-ahead for one of those templates to be distributed with this package. Consult the files in `Packages/Pandown/Samples` for a quickstart guide to building custom template files. The guide consists of a sample Markdown file, a sample template, a sample Pandoc configuration JSON, and the output HTML file generated from all those. Once you've played around with these files, you can use them for your own projects, too.
+### Critic Markup
+Pandown includes basic for the [Critic Markup][critic] syntax. By switching the `"preprocess_critic"` setting to `true` and adding the variable `"critic": true` to your Pandoc variables, you can compare changes and annotations against your original text in the constructed HTML file. Some JavaScript and HTML is added to the file that's built in that case, but it can be removed by deleting the `critic` key from your Pandoc variables. This is something of a quick-and-dirty implementation that will hopefully be developed somewhat more in the future.
+
### Build Systems
In theory, the build command syntax supports all of Pandoc's possible `from` and `to` formats. In practice, I am but one man and haven't written and tested `sublime-build` settings for each and every one of them. Markdown is completely configured from the get-go, but if you wish to use another input language you'll need to write a `sublime-build` file. At minimum, it must contain the following:
@@ -40,10 +46,10 @@ In theory, the build command syntax supports all of Pandoc's possible `from` and
If the output file is not a type that Sublime can open, setting `prevent_viewing` to `true` will keep the script from trying to open it, even if the user's settings would normally cause it to do so.
## Help and Support
-If you have any difficulties with or suggestions for Pandown, please don't hesitate to get in touch. You can use the GitHub "Issues" interface, or send an e-mail to Daniel at <d@daniel.sh>.
+If you have any difficulties with or suggestions for Pandown, please don't hesitate to get in touch. You can use the GitHub "Issues" interface, or send an e-mail to Daniel at d at daniel dot sh.
## Thanks and Credits
-The bare bones of the code were originally a modification of [Pandoc (Markdown)](https://github.com/jclement/SublimePandoc); though not much of what was there has survived, I'm grateful for the springboard. Almost all of the process-management code is from the `Defaults/exec.py` library. The package includes Gerald Storer's `minify_json` library, which is distributed under the MIT license and is obtainable [here](https://github.com/getify/JSON.minify). Thanks to Gerald for working around Python's (and Douglas Crockford's) obdurate refusal to allow comments in JSON. [Brett Terpstra](http://brettterpstra.com)'s generous permission to include his CSS with this package is appreciated above all.
+The bare bones of the code were originally a modification of [Pandoc (Markdown)](https://github.com/jclement/SublimePandoc); though not much of what was there has survived, I'm grateful for the springboard. Almost all of the process-management code is from the `Defaults/exec.py` module. The package includes Gerald Storer's `minify_json` module, which is distributed under the MIT license and is obtainable [here](https://github.com/getify/JSON.minify). Thanks to Gerald for working around Python's (and Douglas Crockford's) obdurate refusal to allow comments in JSON. I'm grateful to the [Critic Markup][critic] project for allowing me to integrate their work into this package. [Brett Terpstra](http://brettterpstra.com)'s generous permission to include his CSS with this package is appreciated above all.
@@ -51,4 +57,5 @@ The bare bones of the code were originally a modification of [Pandoc (Markdown)]
[pandown]: http://sublime.daniel.sh/pandown/ "Pandown Home"
[pandoc]: http://johnmacfarlane.net/pandoc/ "Pandoc Home"
[markdown]: http://daringfireball.net/projects/markdown/ "Daring Fireball: Markdown"
-[documentation]: http://johnmacfarlane.net/pandoc/README.html "Pandoc: README"
+[documentation]: http://johnmacfarlane.net/pandoc/README.html "Pandoc: README"
+[critic]: http://criticmarkup.com "Critic Markup"
View
941 Samples/github.html
@@ -1,621 +1,682 @@
-<!DOCTYPE html>
-<html$if(lang)$ lang="$lang$"$endif$>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$>
<!--
- /*DOCUMENTATION ************************************************
- * This document was generated with Pandoc, using a minimally *
- * modified version of Brett Terpstra's "GitHub" stylesheet, *
- * as included in Marked.app (http://markedapp.com), copyright *
- * 2011 Brett Terpstra and used, gratefully, with permission. *
- * Please leave this notice intact when building or distributing*
- * your HTML. Brett's kindness in allowing his work to be reused*
- * and redistributed is deeply appreciated. (DPS, 2012-12-06)*
- ***************************************************************/
+ /*DOCUMENTATION ************************************************
+ * This document was generated with Pandoc, using a minimally *
+ * modified version of Brett Terpstra's "GitHub" stylesheet, *
+ * as included in Marked.app (http://markedapp.com), copyright *
+ * 2011 Brett Terpstra and used, gratefully, with permission. *
+ * Please leave this notice intact when building or distributing*
+ * your HTML. Brett's kindness in allowing his work to be reused*
+ * and redistributed is deeply appreciated. (DPS, 2012-12-06)*
+ ***************************************************************/
-->
<head>
- <meta charset="utf-8">
- <meta name="generator" content="pandoc">
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta http-equiv="Content-Style-Type" content="text/css" />
+ <meta name="generator" content="pandoc">
$for(author-meta)$
- <meta name="author" content="$author-meta$">
+ <meta name="author" content="$author-meta$">
$endfor$
$if(date-meta)$
- <meta name="dcterms.date" content="$date-meta$">
+ <meta name="dcterms.date" content="$date-meta$">
$endif$
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
$if(pagetitle)$
- <title>$if(title-prefix)$$title-prefix$ | $endif$$pagetitle$$if(title-suffix)$ | $title-suffix$$endif$</title>
+ <title>$if(title-prefix)$$title-prefix$ | $endif$$pagetitle$$if(title-suffix)$ | $title-suffix$$endif$</title>
$endif$
<style>
html, body {
- color: black;
+ color: black;
}
* {
- margin: 0;
- padding: 0;
+ margin: 0;
+ padding: 0;
}
body {
- font: 13.34px helvetica,arial,freesans,clean,sans-serif;
- -webkit-font-smoothing: antialiased;
- line-height: 1.4;
- padding: 3px;
- background: #fff;
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
+ font: 13.34px helvetica,arial,freesans,clean,sans-serif;
+ -webkit-font-smoothing: antialiased;
+ line-height: 1.4;
+ padding: 3px;
+ background: #fff;
+ border-radius: 3px;
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
}
p {
- margin: 1em 0;
+ margin: 1em 0;
}
a {
- color: #4183c4;
- text-decoration: none;
+ color: #4183c4;
+ text-decoration: none;
}
em em {
- font-style: normal;
+ font-style: normal;
}
#wrapper {
- background-color: #fff;
- border: 3px solid #eee !important;
- padding: 0 30px;
- /*margin: 15px;*/
+ background-color: #fff;
+ border: 3px solid #eee !important;
+ padding: 0 30px;
+ /*margin: 15px;*/
$if(max-width)$
- max-width: $max-width$;
+ max-width: $max-width$;
$else$
- max-width: 700px;
+ max-width: 700px;
$endif$
- margin: 15px auto;
+ margin: 15px auto;
}
#wrapper {
- font-size: 14px;
- line-height: 1.6;
+ font-size: 14px;
+ line-height: 1.6;
}
#wrapper>*:first-child {
- margin-top: 0!important;
+ margin-top: 0!important;
}
#wrapper>*:last-child {
- margin-bottom: 0!important;
+ margin-bottom: 0!important;
}
h1,h2,h3,h4,h5,h6 {
- margin: 0;
- padding: 0;
+ margin: 0;
+ padding: 0;
}
h1 {
- margin: 15px 0;
- padding-bottom: 2px;
- font-size: 24px;
- border-bottom: 1px solid #eee;
+ margin: 15px 0;
+ padding-bottom: 2px;
+ font-size: 24px;
+ border-bottom: 1px solid #eee;
}
h2 {
- margin: 20px 0 10px 0;
- font-size: 18px;
+ margin: 20px 0 10px 0;
+ font-size: 18px;
}
h3 {
- margin: 20px 0 10px 0;
- padding-bottom: 2px;
- font-size: 14px;
- border-bottom: 1px solid #ddd;
+ margin: 20px 0 10px 0;
+ padding-bottom: 2px;
+ font-size: 14px;
+ border-bottom: 1px solid #ddd;
}
h4 {
- font-size: 14px;
- line-height: 26px;
- padding: 18px 0 4px;
- font-weight: bold;
- text-transform: uppercase;
+ font-size: 14px;
+ line-height: 26px;
+ padding: 18px 0 4px;
+ font-weight: bold;
+ text-transform: uppercase;
}
h5 {
- font-size: 13px;
- line-height: 26px;
- padding: 14px 0 0;
- font-weight: bold;
- text-transform: uppercase;
+ font-size: 13px;
+ line-height: 26px;
+ padding: 14px 0 0;
+ font-weight: bold;
+ text-transform: uppercase;
}
h6 {
- color: #666;
- font-size: 14px;
- line-height: 26px;
- padding: 18px 0 0;
- font-weight: normal;
- font-variant: italic;
+ color: #666;
+ font-size: 14px;
+ line-height: 26px;
+ padding: 18px 0 0;
+ font-weight: normal;
+ font-variant: italic;
}
hr {
- background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;border: 0 none;
- color: #ccc;
- height: 4px;
- margin: 20px 0;
- padding: 0;
+ background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;border: 0 none;
+ color: #ccc;
+ height: 4px;
+ margin: 20px 0;
+ padding: 0;
}
#wrapper>h2:first-child,#wrapper>h1:first-child,#wrapper>h1:first-child+h2 {
- border: 0;
- margin: 0;
- padding: 0;
+ border: 0;
+ margin: 0;
+ padding: 0;
}
#wrapper>h3:first-child,#wrapper>h4:first-child,#wrapper>h5:first-child,#wrapper>h6:first-child {
- margin: 0;
- padding: 0;
+ margin: 0;
+ padding: 0;
}
h4+p,h5+p,h6+p {
- margin-top: 0;
+ margin-top: 0;
}
li p.first {
- display: inline-block;
+ display: inline-block;
}
ul,ol {
- margin: 15px 0 15px 25px;
+ margin: 15px 0 15px 25px;
}
ul li,ol li {
- margin-top: 7px;
- margin-bottom: 7px;
+ margin-top: 7px;
+ margin-bottom: 7px;
}
ul li>*:last-child,ol li>*:last-child {
- margin-bottom: 0;
+ margin-bottom: 0;
}
ul li>*:first-child,ol li>*:first-child {
- margin-top: 0;
+ margin-top: 0;
}
#wrapper>ul,#wrapper>ol {
- margin-top: 21px;
- margin-left: 36px;
+ margin-top: 21px;
+ margin-left: 36px;
}
dl {
- margin: 0;
- padding: 10px 1em 10px;
+ margin: 0;
+ padding: 10px 1em 10px;
}
dl dt {
- font-size: 14px;
- font-weight: bold;
- line-height: normal;
- margin: 0;
- padding: 5px 0 5px;
+ font-size: 14px;
+ font-weight: bold;
+ line-height: normal;
+ margin: 0;
+ padding: 5px 0 5px;
}
dl dd {
- font-size: 13px;
- margin: 0;
- padding: 0px 1em 0;
+ font-size: 13px;
+ margin: 0;
+ padding: 0px 1em 0;
}
blockquote {
- margin: 14px 0;
- border-left: 4px solid #ddd;
- padding-left: 11px;
- color: #555;
+ margin: 14px 0;
+ border-left: 4px solid #ddd;
+ padding-left: 11px;
+ color: #555;
+}
+
+tbody {
+ display: table-row-group;
+}
+
+tfoot {
+ display: table-footer-group;
+}
+
+table {
+ margin-bottom: 2em;
+ padding: 0;
+ font-size: 14px;
+ border-collapse: collapse;
+
+ -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .35);
+ -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .35);
+ box-shadow: 1px 1px 2px rgba(0, 0, 0, .35);
+ width: 70%;
+ margin: 0 auto 2em auto;
+}
+
+table th,table td {
+ padding: 10px 10px 9px;
+ line-height: 18px;
+ text-align: left;
+}
+
+table th {
+ padding-top: 9px;
+ font-family: LeagueGothic;
+ font-size: 18px;
+ font-weight: normal !important;
+ text-transform: uppercase;
+ vertical-align: middle;
+}
+
+table td {
+ vertical-align: top;
+ border-top: 1px solid #ddd;
+ font-family: fjord,georgia,serif;
+ font-size: 14px !important;
+}
+
+table tbody th {
+ border-top: 1px solid #ddd;
+ vertical-align: top;
}
table {
- border-collapse: collapse;
- margin: 20px auto 0;
- padding: 0;
+ border: 1px solid #ddd;
+ border-collapse: separate;
+ *border-collapse: collapse; /* IE7, collapse table to remove spacing */
+
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+}
+
+table th + th,table td + td,table th + td {
+ border-left: 1px solid #ddd;
+}
+
+table thead tr:first-child th:first-child,table tbody tr:first-child td:first-child {
+ -webkit-border-radius: 4px 0 0 0;
+ -moz-border-radius: 4px 0 0 0;
+ border-radius: 4px 0 0 0;
}
-table tr {
- border-top: 1px solid #ccc;
- background-color: #fff;
- margin: 0;
- padding: 0;
- overflow: auto;
+table thead tr:first-child th:last-child,table tbody tr:first-child td:last-child {
+ -webkit-border-radius: 0 4px 0 0;
+ -moz-border-radius: 0 4px 0 0;
+ border-radius: 0 4px 0 0;
}
-table tr:nth-child(2n) {
- background-color: #f8f8f8;
+table tbody tr:last-child td:first-child {
+ -webkit-border-radius: 0 0 0 4px;
+ -moz-border-radius: 0 0 0 4px;
+ border-radius: 0 0 0 4px;
}
-table tr th,table tr td {
- border: 1px solid #ccc;
- text-align: left;
- margin: 0;
- padding: 6px 13px;
+table tbody tr:last-child td:last-child {
+ -webkit-border-radius: 0 0 4px 0;
+ -moz-border-radius: 0 0 4px 0;
+ border-radius: 0 0 4px 0;
+}
+
+tbody tr:nth-child(odd) {
+ background-color: rgba(0,0,0,0.03);
}
img {
- max-width: 100%;
- height: auto
+ max-width: 100%;
+ height: auto
}
-code,tt {
- margin: 0 2px;
- padding: 2px 5px;
- white-space: nowrap;
- border: 1px solid #ccc;
- background-color: #f8f8f8;
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- font-size: 12px
+p code, p tt {
+ margin: 0 2px;
+ padding: 2px 5px;
+ white-space: nowrap;
+ border: 1px solid #ccc;
+ background-color: #f8f8f8;
+ border-radius: 3px;
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ font-size: 12px
}
pre>code {
- margin: 0;
- padding: 0;
- white-space: pre;
- border: none;
- background: transparent;
- font-size: 13px
-}
-
-.highlight pre,pre {
- background-color: #f8f8f8;
- border: 1px solid #ccc;
- font-size: 13px;
- line-height: 19px;
- overflow: auto;
- padding: 6px 10px;
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
-}
-
-table.numberLines {
- table-layout: fixed;
- width: 90%;
- margin: 5px auto;
-}
-
-table.numberLines pre {
- background-color: #f8f8f8;
- border: 1px solid #ccc;
- font-size: 13px;
- line-height: 19px;
- overflow: auto;
-/* border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;*/
- border-radius: none;
- -moz-border-radius: none;
- -webkit-border-radius: none;
-}
-
-table.numberLines tr th,table.numberlines tr td {
- border: 1px solid #ccc;
- text-align: left;
- margin: 1px;
- padding: 1px;
- overflow: auto;
-}
-
-td.lineNumbers {
- width: 5%;
- text-align: right;
- padding: 3px;
-}
-
-td.lineNumbers pre {
- background-color: #fff;
- /*border: 1px solid #ccc;*/
- border: none;
- font-size: 13px;
- line-height: 19px;
- overflow: auto;
- border-radius: none;
- -moz-border-radius: none;
- -webkit-border-radius: none;
- /*border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;*/
+ margin: 0;
+ padding: 0;
+ white-space: pre;
+ border: none;
+ background: transparent;
+ font-size: 13px
+}
+
+#wrapper>pre {
+ background-color: #f8f8f8;
+ border: 1px solid #ccc;
+ font-size: 13px;
+ line-height: 19px;
+ overflow: auto;
+ padding: 6px 10px;
+ border-radius: 3px;
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
}
#wrapper>pre,#wrapper>div.highlight {
- margin: 10px 0 0;
+ margin: 10px 0 0;
}
pre code,pre tt {
- background-color: transparent;
- border: none;
+ background-color: transparent;
+ border: none;
}
#wrapper {
- background-color: #fff;
- border: 1px solid #CACACA;
- padding: 30px;
+ background-color: #fff;
+ border: 1px solid #CACACA;
+ padding: 30px;
}
pre.poetry {
- font-family: Georgia, Garamond, serif !important;
- font-style: italic;
- font-size: 110% !important;
- line-height: 1.6em;
- display: block;
- margin-left: 1em;
+ font-family: Georgia, Garamond, serif !important;
+ font-style: italic;
+ font-size: 110% !important;
+ line-height: 1.6em;
+ display: block;
+ margin-left: 1em;
}
pre.poetry code {
- font-family: Georgia, Garamond, serif !important;
- word-break: break-all;
- word-break: break-word; /* Non standard for webkit */
- -webkit-hyphens: auto;
- -moz-hyphens: auto;
- hyphens: auto;
- white-space: pre-wrap;
+ font-family: Georgia, Garamond, serif !important;
+ word-break: break-all;
+ word-break: break-word; /* Non standard for webkit */
+ -webkit-hyphens: auto;
+ -moz-hyphens: auto;
+ hyphens: auto;
+ white-space: pre-wrap;
}
sup,sub,a.footnote {
- font-size: 1.4ex;
- height: 0;
- line-height: 1;
- vertical-align: super;
- position: relative;
+ font-size: 1.4ex;
+ height: 0;
+ line-height: 1;
+ vertical-align: super;
+ position: relative;
}
sub {
- vertical-align: sub;
- top: -1px;
+ vertical-align: sub;
+ top: -1px;
}
@media print {
- body {
- background: #fff;
- }
+ body {
+ background: #fff;
+ }
- img, pre, blockquote, table, figure {
- page-break-inside: avoid
- }
+ img, pre, blockquote, table, figure {
+ page-break-inside: avoid
+ }
- #wrapper {
- background: #fff;
- border: none;
- }
+ #wrapper {
+ background: #fff;
+ border: none;
+ }
- code {
- background-color: #fff;
- color: #444!important;
- padding: 0 .2em;
- border: 1px solid #DEDEDE;
- }
+ code {
+ background-color: #fff;
+ color: #444!important;
+ padding: 0 .2em;
+ border: 1px solid #DEDEDE;
+ }
- pre code {
- background-color: #fff!important;
- overflow: visible;
- }
+ pre code {
+ background-color: #fff!important;
+ overflow: visible;
+ }
- pre {
- background: #fff;
- }
+ pre {
+ background: #fff;
+ }
}
@media screen {
- ::selection {
- background: rgba(157, 193, 200,.5)
- }
-
- h1::selection {
- background-color: rgba(45, 156, 208, .3)
- }
-
- h2::selection {
- background-color: rgba(90, 182, 224, .3)
- }
-
- h3::selection,
- h4::selection,
- h5::selection,
- h6::selection,li::selection,ol::selection {
- background-color: rgba(133, 201, 232, .3)
- }
-
- code::selection {
- background-color: rgba(0,0,0,.7);
- color: #eee
- }
-
- code span::selection {
- background-color: rgba(0,0,0,.7) !important;
- color: #eee !important
- }
-
- a::selection {
- background-color: rgba(255, 230, 102,.2)
- }
-
- td::selection,th::selection,caption::selection {
- background-color: rgba(180, 237, 95, .5);
- }
-}
-
-$if(pygments)$
-/*DOCUMENTATION ************************************************
-* The .sourceCode elements are drawn from the CSS available *
-* with Pygments (http://pygments.org/), which I believe to be *
-* released under the MIT license. Some modifications have been *
-* made to fit Pandoc's output, which does not strictly conform *
-* to the original style. *
-* Pygments: http://www.org *
-* Daniel Shannon: http://www.daniel.sh *
-* Pandown: http://sublime.daniel.sh/pandown/ *
-***************************************************************/
-
-.sourceCode .hll { background-color: #ffffcc }
-.sourceCode .c, .sourceCode .co { color: #888888 } /* Comment */
-.sourceCode .err, .sourceCode .er { color: #a61717; background-color: #e3d2d2 } /* Error */
-.sourceCode .k, .sourceCode .kw { color: #008800; font-weight: bold } /* Keyword */
-.sourceCode .cm { color: #888888 } /* Comment.Multiline */
-.sourceCode .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
-.sourceCode .c1 { color: #888888 } /* Comment.Single */
-.sourceCode .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
-.sourceCode .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
-.sourceCode .ge { font-style: italic } /* Generic.Emph */
-.sourceCode .gr { color: #aa0000 } /* Generic.Error */
-.sourceCode .gh { color: #303030 } /* Generic.Heading */
-.sourceCode .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
-.sourceCode .go { color: #888888 } /* Generic.Output */
-.sourceCode .gp { color: #555555 } /* Generic.Prompt */
-.sourceCode .gs { font-weight: bold } /* Generic.Strong */
-.sourceCode .gu { color: #606060 } /* Generic.Subheading */
-.sourceCode .gt { color: #aa0000 } /* Generic.Traceback */
-.sourceCode .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
-.sourceCode .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
-.sourceCode .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
-.sourceCode .kp { color: #008800 } /* Keyword.Pseudo */
-.sourceCode .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
-.sourceCode .kt { color: #888888; font-weight: bold } /* Keyword.Type */
-.sourceCode .m { color: #0000DD; font-weight: bold } /* Literal.Number */
-.sourceCode .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
-.sourceCode .na { color: #336699 } /* Name.Attribute */
-.sourceCode .nb { color: #003388 } /* Name.Builtin */
-.sourceCode .nc { color: #bb0066; font-weight: bold } /* Name.Class */
-.sourceCode .no { color: #003366; font-weight: bold } /* Name.Constant */
-.sourceCode .nd { color: #555555 } /* Name.Decorator */
-.sourceCode .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
-.sourceCode .nf { color: #0066bb; font-weight: bold } /* Name.Function */
-.sourceCode .nl { color: #336699; font-style: italic } /* Name.Label */
-.sourceCode .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
-.sourceCode .py { color: #336699; font-weight: bold } /* Name.Property */
-.sourceCode .nt, .sourceCode .ot { color: #bb0066; font-weight: bold } /* Name.Tag */
-.sourceCode .nv, .sourceCode .dt { color: #336699 } /* Name.Variable */
-.sourceCode .ow { color: #008800 } /* Operator.Word */
-.sourceCode .w { color: #bbbbbb } /* Text.Whitespace */
-.sourceCode .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
-.sourceCode .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
-.sourceCode .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
-.sourceCode .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
-.sourceCode .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
-.sourceCode .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
-.sourceCode .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
-.sourceCode .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
-.sourceCode .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
-.sourceCode .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
-.sourceCode .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
-.sourceCode .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
-.sourceCode .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
-.sourceCode .s1, .sourceCode .st { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
-.sourceCode .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
-.sourceCode .bp { color: #003388 } /* Name.Builtin.Pseudo */
-.sourceCode .vc { color: #336699 } /* Name.Variable.Class */
-.sourceCode .vg { color: #dd7700 } /* Name.Variable.Global */
-.sourceCode .vi { color: #3333bb } /* Name.Variable.Instance */
-.sourceCode .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
-$else$
-/*DOCUMENTATION ************************************************
-* The .sourceCode elements are drawn from Brett Terpstra's *
-* GitHub CSS, available with Marked (http://markedapp.com/) and*
-* used, gratefully, with permission in Pandown. Some *
-* modifications have been made to fit Pandoc's output, which *
-* does not strictly conform to the original style. *
-* Brett Terpstra: http://www.brettterpstra.com *
-* Marked: http://www.markedapp.com *
-* Daniel Shannon: http://www.daniel.sh *
-* Pandown: http://sublime.daniel.sh/pandown/ *
-***************************************************************/
-
-.sourceCode .c, .sourceCode .co { color: #998; font-style: italic; }
-.sourceCode .err, .sourceCode .er { color: #a61717; background-color: #e3d2d2; }
-.sourceCode .k { font-weight: bold; }
-.sourceCode .o { font-weight: bold; }
-.sourceCode .cm { color: #998; font-style: italic; }
-.sourceCode .cp { color: #999; font-weight: bold; }
-.sourceCode .c1 { color: #998; font-style: italic; }
-.sourceCode .cs { color: #999; font-weight: bold; font-style: italic; }
-.sourceCode .gd { color: #000; background-color: #fdd; }
-.sourceCode .gd .x { color: #000; background-color: #faa; }
-.sourceCode .ge { font-style: italic; }
-.sourceCode .gr { color: #a00; }
-.sourceCode .gh { color: #999; }
-.sourceCode .gi { color: #000; background-color: #dfd; }
-.sourceCode .gi .x { color: #000; background-color: #afa; }
-.sourceCode .go { color: #888; }
-.sourceCode .gp { color: #555; }
-.sourceCode .gs { font-weight: bold; }
-.sourceCode .gu { color: #800080; font-weight: bold; }
-.sourceCode .gt { color: #a00; }
-.sourceCode .kw { color: #008800; font-weight: bold; }
-.sourceCode .kc { font-weight: bold; }
-.sourceCode .kd { font-weight: bold; }
-.sourceCode .kn { font-weight: bold; }
-.sourceCode .kp { font-weight: bold; }
-.sourceCode .kr { font-weight: bold; }
-.sourceCode .kt, .sourceCode .dt { color: #458; font-weight: bold; }
-.sourceCode .m { color: #099; }
-.sourceCode .s { color: #d14; }
-.sourceCode .na { color: #008080; }
-.sourceCode .nb { color: #0086B3; }
-.sourceCode .nc { color: #458; font-weight: bold; }
-.sourceCode .no { color: #008080; }
-.sourceCode .ni { color: #800080; }
-.sourceCode .ne { color: #900; font-weight: bold; }
-.sourceCode .nf { color: #900; font-weight: bold; }
-.sourceCode .nn { color: #555; }
-.sourceCode .nt, .sourceCode .ot { color: #000080; }
-.sourceCode .nv { color: #008080; }
-.sourceCode .ow { font-weight: bold; }
-.sourceCode .w { color: #bbb; }
-.sourceCode .mf { color: #099; }
-.sourceCode .mh { color: #099; }
-.sourceCode .mi { color: #099; }
-.sourceCode .mo { color: #099; }
-.sourceCode .sb { color: #d14; }
-.sourceCode .sc { color: #d14; }
-.sourceCode .sd { color: #d14; }
-.sourceCode .s2 { color: #d14; }
-.sourceCode .se { color: #d14; }
-.sourceCode .sh { color: #d14; }
-.sourceCode .si { color: #d14; }
-.sourceCode .sx { color: #d14; }
-.sourceCode .sr { color: #009926; }
-.sourceCode .s1, .sourceCode .st { color: #d14; }
-.sourceCode .ss { color: #990073; }
-.sourceCode .bp { color: #999; }
-.sourceCode .vc { color: #008080; }
-.sourceCode .vg { color: #008080; }
-.sourceCode .vi { color: #008080; }
-.sourceCode .il { color: #099; }
-.sourceCode .gc { color: #999; background-color: #EAF2F5; }
-$endif$
+ ::selection {
+ background: rgba(157, 193, 200,.5)
+ }
+
+ h1::selection {
+ background-color: rgba(45, 156, 208, .3)
+ }
+
+ h2::selection {
+ background-color: rgba(90, 182, 224, .3)
+ }
+
+ h3::selection,
+ h4::selection,
+ h5::selection,
+ h6::selection,li::selection,ol::selection {
+ background-color: rgba(133, 201, 232, .3)
+ }
+
+ code::selection {
+ background-color: rgba(0,0,0,.7);
+ color: #eee
+ }
+
+ code span::selection {
+ background-color: rgba(0,0,0,.7) !important;
+ color: #eee !important
+ }
+
+ a::selection {
+ background-color: rgba(255, 230, 102,.2)
+ }
+
+ td::selection,th::selection,caption::selection {
+ background-color: rgba(180, 237, 95, .5);
+ }
+}
+
+em em {
+ font-style: normal;
+}
+
+#criticnav {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ box-shadow: 0 1px 1px 1px #777;
+ margin: 0;
+ padding: 0;
+ background-color: white;
+ font-size: 12px;
+}
+
+#criticnav ul {
+ list-style-type: none;
+ width: 90%;
+ margin: 0 auto;
+ padding: 0;
+}
+
+#criticnav ul li {
+ display: block;
+ width: 33%;
+ text-align: center;
+ padding: 10px 0 5px!important;
+ margin: 0 !important;
+ line-height: 1em;
+ float: left;
+ border-left: 1px solid #ccc;
+ text-transform: uppercase;
+}
+
+#criticnav ul li:before {
+ content: none !important;
+}
+
+#criticnav ul li#edited-button {
+ border-right: 1px solid #ccc;
+}
+
+#criticnav ul li.active {
+ background-image: -webkit-linear-gradient(top, white, #cccccc)
+}
+
+.original del {
+
+ text-decoration: none;
+}
+
+.original ins,
+.original span.popover,
+.original ins.break {
+ display: none;
+}
+
+.edited ins {
+
+ text-decoration: none;
+}
+
+.edited del,
+.edited span.popover,
+.edited ins.break {
+ display: none;
+}
+
+.original mark,
+.edited mark {
+ background-color: transparent;
+}
+
+.markup mark {
+ background-color: #fffd38;
+ text-decoration: none;
+}
+
+.markup del {
+ background-color: #f6a9a9;
+ text-decoration: none;
+}
+
+.markup ins {
+ background-color: #a9f6a9;
+ text-decoration: none;
+}
+
+.markup ins.break {
+ display: block;
+ line-height: 2px;
+ padding: 0 !important;
+ margin: 0 !important;
+}
+
+.markup ins.break span {
+ line-height: 1.5em;
+}
+
+.markup .popover {
+ background-color: #4444ff;
+ color: #fff;
+}
+
+.markup .popover .critic.comment {