mume2
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

mume2

command line interface for the mume markdown converter.

oclif Version CircleCI Codecov Downloads/week License

Usage

$ npm install -g mume2
$ mume2 COMMAND
running command...
$ mume2 (-v|--version|version)
mume2/0.1.1 linux-x64 node-v11.1.0
$ mume2 --help [COMMAND]
USAGE
  $ mume2 COMMAND
...

Commands

mume2 autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ mume2 autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ mume2 autocomplete
  $ mume2 autocomplete bash
  $ mume2 autocomplete zsh
  $ mume2 autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

mume2 help [COMMAND]

display help for mume2

USAGE
  $ mume2 help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

mume2 html FILEPATH [PROJECTDIRECTORYPATH]

convert markdown files to html

USAGE
  $ mume2 html FILEPATH [PROJECTDIRECTORYPATH]

ARGUMENTS
  FILEPATH              the filename to convert (can be a wildcard)

  PROJECTDIRECTORYPATH  [default: /home/lukemurray/Documents/repos/github/lukesmurray/mume2] the directory the file
                        paths are in. Default to current directory

OPTIONS
  -h, --help
      show CLI help

  -o, --outDir=outDir
      output directory to store files in

  --breakOnSingleNewLine
      In Markdown, a single newline character doesn't cause a line break in the generated HTML. In GitHub Flavored 
      Markdown, that is not true. Enable this config option to insert line breaks in rendered HTML for single newlines in 
      Markdown source.

  --codeBlockTheme=(auto.css|default.css|atom-dark.css|atom-light.css|atom-material.css|coy.css|darcula.css|dark.css|fun
  ky.css|github.css|hopscotch.css|monokai.css|okaidia.css|one-dark.css|one-light.css|pen-paper-coffee.css|pojoaque.css|s
  olarized-dark.css|solarized-light.css|twilight.css|vue.css|vs.css|xonokai.css)
      [default: auto.css] If `auto.css` is chosen, then the code block theme that best matches the current preview theme 
      will be picked.

  --enableCriticMarkupSyntax
      Enable CriticMarkup syntax. Only works with markdown-it parser. Please check http://criticmarkup.com/users-guide.php 
      for more information.

  --enableEmojiSyntax
      Enable emoji & font-awesome plugin. This only works for markdown-it parser, but not pandoc parser.

  --enableExtendedTableSyntax
      Enable extended table syntax to support merging table cells.

  --enableLinkify
      Enable conversion of URL-like text to links in the markdown preview.

  --enableScriptExecution
      Enables executing code chunks and importing javascript files. USE WITH CAUTION

  --enableTypographer
      Enable smartypants and other sweet transforms.

  --enableWikiLinkSyntax
      Enable Wiki Link syntax support. More information can be found a  
      https://help.github.com/articles/adding-links-to-wikis/

  --frontMatterRenderingOption=(none|table|code block)
      [default: none] means to render yaml front matter

  --imageFolderPath=imageFolderPath
      [default: /assets] When using Image Helper to copy images, by default images will be copied to root image folder 
      path `/assets`

  --latexEngine=latexEngine
      [default: pdflatex] Default latex engine for Pandoc export and latex code chunk.

  --mathRenderingOption=(KaTeX|MathJax|None)
      [default: KaTeX] mathematical library used for type setting

  --mermaidTheme=(mermaid.css|mermaid.dark.css|mermaid.forest.css)
      [default: mermaid.css] mermaid theme to use

  --pandocArguments=pandocArguments
      [default: []] Pandoc arguments e.g. ['--smart', '--filter=/bin/exe']. Please use long argument names.

  --pandocMarkdownFlavor=pandocMarkdownFlavor
      [default: markdown-raw_tex+tex_math_single_backslash] pandoc markdown flavor

  --pandocPath=pandocPath
      [default: pandoc] pandoc executable path

  --phantomPath=phantomPath
      [default: phantomjs] phantomjs executable path

  --previewTheme=(atom-dark.css|atom-light.css|atom-material.css|github-dark.css|github-light.css|gothic.css|medium.css|
  monokai.css|newsprint.css|night.css|none.css|one-dark.css|one-light.css|solarized-dark.css|solarized-light.css|vue.css
  )
      [default: github-light.css] css theme to use to render the preview

  --printBackground
      Whether to print background for file export or not. If set to `false`, then `github-light` preview theme will b  
      used. You can also set `print_background` in front-matter for individual files.

  --protocolsWhiteList=protocolsWhiteList
      [default: http://, https://, atom://, file://, mailto:, tel:] Accepted protocols for links

  --revealjsTheme=(beige.css|black.css|blood.css|league.css|moon.css|night.css|serif.css|simple.css|sky.css|solarized.cs
  s|white.css|none.css)
      [default: white.css] revealjs theme to use

  --usePandocParser
      Enable this option will render markdown by pandoc instead of markdown-it

  --wikiLinkFileExtension=wikiLinkFileExtension
      [default: .md] By default, the extension for wikilink is `.md`. For example: [[test]] will direct to file path 
      `test.md`.

EXAMPLE
  $ mume2 html '*.md' -o html --imageFolderPath ./img --enableScriptExecution true

See code: src/commands/html.ts

mume2 update [CHANNEL]

update the mume2 CLI

USAGE
  $ mume2 update [CHANNEL]

See code: @oclif/plugin-update

Readme

Keywords

Package Sidebar

Install

npm i mume2

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

30.8 kB

Total Files

13

Last publish

Collaborators

  • lukesmurray