Omochice / podeno

Generate some documentations by pod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Podeno

Convert pod file to other format by podium.

This support to highlight like highlight.js, shiki etc.

Required permissions

Installation

If you execute below, you can execute podeno.

$ deno install --allow-net --allow-read --allow-write https://pax.deno.dev/Omochice/podeno/cli.ts

Usage

If you want to convert pod to markdown named as sample.pod:

$ podeno markdown --in sample.pod

This tool has below commands:

  • markdown

    • Convert pod text to markdown.
    • This command has some option:
      • --in [path/to/pod]: Use path/to/pod as input.
      • --stdin: Use stdin as input.
      • --out [path/to/file]: Write output to path/to/file. (optional)
      • --highlight [highlight plugin name]: Specify highlight plugin. (default: "hljs")
  • vimdoc

    • Convert pod text to vimdoc.
    • This command has some option:
      • --in [path/to/pod]: Use path/to/pod as input.
      • --stdin: Use stdin as input.
      • --out [path/to/file]: Write output to path/to/file. (optional)

See podeno --help more...

About

Generate some documentations by pod

License:MIT License


Languages

Language:TypeScript 100.0%