Skip to content

kondoumh/sb2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sb2md

Go Go Report Card

sb2md is a CLI for outputting Scrapbox pages in Markdown format. Fetches the page data, converts it to Markdown format, and outputs it to standard output.

Installing

go install github.com/kondoumh/sb2md@latest

or

curl -LO https://github.com/kondoumh/sb2md/releases/download/<version>/sb2md-<platform>-amd64.tar.gz
tar xvf sb2md-<platform>-amd64.tar.gz
sudo mv sb2md /usr/local/bin

Usage

Specify the Scrapbox page with the project name and title.

sb2md <project name>/<page title> [flags]

Markdown data is output to standard output.

Flags

-n, --hatena

Generates embedded links in Hatena blog format.

-h, --help

Print help