Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

LemonNekoGH/wodaochu-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wodaochu-markdown

wodaochu-markdown is a tool that can export your wolai page to markdown document.

Get started

Installation

Install with go get:

go install github.com/lemonnekogh/wodaochu-markdown@latest

Usage

wodaochu-markdown <your-token> <page-id> <output-dir>

Block converting behaviors

Callout

Callout will be converted to containers, marquee mode not supported currently, font awesome icon not supported currently.

Example: Example

It will be convert to:

::: TIP ⚠️
A callout.
:::

Embed

Embed will be converted to iframe, but we cannot set the height of iframe because the API does not return this field.

Extended syntaxes support in markdown parsers

  • markdown-it - The markdown-it-task-lists plugin provides support of it, but it does not contains typescript definition.

Equations

Containers

About

This repository was deprecated. Please use https://github.com/LemonNekoGH/wodaochu.js instead.

Resources

Stars

Watchers

Forks

Languages