8000 GitHub - marat2509/Fork-gitbook-to-md: Bulk export spaces from GitBook to markdown
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

marat2509/Fork-gitbook-to-md

 
 

Repository files navigation

Gitbook to Markdown exporter

Getting started

npm run build

# Fetch and parse an entire space
API_TOKEN=xxxx npm run get-content -- [organisation id]
API_TOKEN=xxxx npm run get-pages -- [space name]
npm run parse-pages -- [space name]

# See documents in data/

# Parse a single page
npm run gitbook-to-md -- [page.json]

Testing

# Run tests
npm run test

# Continually watch tests
npm run test:watch

# Check types
npm run types

Credits

H/T to Steven G. Harms whose gist kick-started this project.

About

Bulk export spaces from GitBook to markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.3%
  • JavaScript 0.7%
0