snippets2md

command module
v0.0.0-...-a07bbba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 6 Imported by: 0

README

snippets2md

simple library to generate snippet markdown table

For example for this snipped file

{
  "Snippet name": {
    "prefix": "foo",
    "body": [
      "foo",
      "bar",
      "baz",
      "end"
    ]
  }
}

will output

PREFIX NAME DESCRIPTION
foo Snippet name foo
bar
baz
end

Usage

to install run

go install github.com/martinhrvn/snippets2md

and then run

snippets2md -f=<yourfile>

It will output the table in console output

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL