markdown-proc

command module
v0.0.0-...-90ce804 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 5 Imported by: 0

README

markdown-proc

用于 markdown 图片、文字等等处理,目前只实现图片

限制

 Golang 版本 >= 1.11

安装

go get -u github.com/go-component/markdown-proc

命令行参数解释

  -f string
        filepath of markdown
  -m int
        processing mode 
        0: image 
        1: word
        
        default 0
        
  -o string
        output path

  • -f:本地 markdown 文件路径
  • -m:处理模式,0:图片,1:文字,默认图片
  • -o:加工后输出的路径

功能

图片加工

扫描远程图片链接,下载到本地并替换链接

markdown-proc -m 0 -f 1.md -o /output

或

markdown-proc -f 1.md -o /output
文字加工

TODO

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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