Skip to content

Sciroccogti/Nebo2markdown

Repository files navigation

Nebo2markdown

Convert Nebo web page to markdown.

Install

git clone https://github.com/Sciroccogti/Nebo2markdown
cd Nebo2markdown
pip3 install -r requirements.txt

Usage

Currently support auto scrap and manual save.

Auto scrap

  1. In your Nebo app, publish one of your page. You will get a shared link, such as mine: Math
  2. python3 ./nebo2markdown.py -u url/of/Nebo/page -o path/to/output.md

Manual save

  1. In your Nebo app, publish one of your page. You will get a shared link, such as mine: Math
  2. Open the shared link in your browser, and save the web page to local .html
  3. python3 ./nebo2markdown.py -i path/to/input.html -o path/to/output.md

Example

Input

Math(html)

Output

Math(md)

Limitation

  1. We only support plain text, and converted math formula now. That is to say, everything should be print hand, and no picture or hand script will be recognized.

About

Convert .html published via nebo to markdown

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published