GithubHelp home page GithubHelp logo

omgitsmoe / scimarkdown Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 603 KB

A WIP Markdown variant with a focus on creating reproducible scientific documents.

License: MIT License

Batchfile 0.25% CSS 0.92% Zig 97.69% R 0.73% Python 0.42%
markdown scientific-writing zig

scimarkdown's Introduction

SciMarkdown

A WIP Markdown variant with a focus on creating reproducible scientific documents.

Features

  • non-ambiguous syntax
  • convenient comments with %% (subject to change)
  • more intuitive in comparison with CommonMark Markdown and other variants:
    • blocks don't require a leading blank line
    • removed superfluous syntax: e. g. Setext headings
      Heading
      =======
    • two spaces at the end of the line for line breaks was removed, since it wasn't visible when editing the raw markdown, use \ at the end of a line to force a line break instead
    • nested emphasis must be alternated:
      CommonMark: Combined emphasis with **asterisks and *underscores***.
      SciMarkdown: Combined emphasis with **asterisks and _underscores_**.
  • more emphasis options: strikethrough, sub-/superscript, smallcaps
  • execute fenced and inline code of supported programming lanugages (currently Python and R) and include the stdout/-err output
  • labels and cross-references
  • citation support provided by citeproc -- for now
  • support for latex math formulas
  • no inline html, everything should be expressible in pure SciMarkdown
  • thus it will be easier to add more backends

Examples

See this file for a complete example of using SciMarkdown, the HTML output can bee seen here.

Usage

Usage: scimd [-h] [-o <FILENAME>] [-r <FILENAME>] [-s <FILENAME>] [-l <LOCALE>] [--write-bib-conversion] <IN-FILE>
    -h, --help
            Display this help and exit.

    -o, --out <FILENAME>
            Output filename.

    -r, --references <FILENAME>
            Path to references file (BibLaTeX or CSL-JSON).

    -s, --citation-style <FILENAME>
            Path to CSL file.

    -l, --locale <LOCALE>
            Specify locale as BCP 47 language tag.

        --write-bib-conversion
            Whether to write out the converted .bib file as CSL-JSON

scimarkdown's People

Contributors

omgitsmoe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.