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

Zerokei/TextConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TextConverter ➰

Introduction

Obsidian is a markdown-based notes software, while MkDocs is a markdown-based content distribution platform. However, it is well known that markdown has quite a bit of extended syntax beyond the base standard. Plus Obsidian and MkDocs both have their own plugins. So, to do content migration in both software, sometimes you need to do some content modification.

Features

1. Obsidian Admonition -> MkDocs Admonition

For the Obsidian admonition, the syntax is

```ad-info
xxx
```

For the MkDocs admonition, the syntax is

!!! info
    xxx

2. Erase tags

In obsidian, you may add several tags, but in MkDocs, they are not rendered.

3. Resort footnotes

In MkDocs, the footnotes are ordered in the same order as at the end of the markdown file, and for aesthetic purposes should be ordered according to the order in which they appear in the text.

Usage

$ git clone git@github.com:Zerokei/TextConverter.git
$ python3 src/main.py target_path # the target path stores the markdown files

About

A tool to convert text from obsidian markdown format into mkdocs markfown format.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages