Giter Site home page Giter Site logo

obsidian-vuepress's Introduction

obsidian-vuepress

standard-readme compliant

obsidian-vuepress

使用 VuePress + obsidian 时,构建过程中使用脚本将一些 vuepress 不能识别不能渲染的格式转换成可以识别的格式。

内容列表

背景

因为用obsidian写笔记,同时也同步到vuepress上面,但是有些 markdown 格式并不通用,vuepress 不认识,不渲染,所以就有了这个项目,在 Github actions 中,vuepress 构建之前,将不渲染的那些格式转换为可以渲染的格式。

安装

目前还没打包,直接复制到 vuepress 项目根目录。

使用说明

使用前提条件

  • vuepress 博客
    • vuepress-theme-hope 主题
  • obsidian
    • admonition 插件

转换规则

admonition 提示块 转为 vuepress-theme-hope 提示块
info info
abstract info
example info
note note
quote note
tip tip
success tip
warning warning
question warning
danger danger
failure danger
bug danger

目前只支持admonition插件的以下三种格式

  • 仅有标题

> [!success] obsidian-vuepress
> 
  • 仅有内容,无标题

> [!success]
> I'm obsidian-vuepress
  • 有标题有内容

> [!success] obsidian-vuepress
> I'm obsidian-vuepress

使用

python obsidian-vuepress.py src
# src 是我存放 markdown 源文件的目录

维护者

@yszar

如何贡献

非常欢迎你的加入!提一个 Issue 或者提交一个 Pull Request。

遵循 Contributor Covenant 行为规范。

贡献者

感谢以下参与项目的人:

使用许可

MIT © yszar

obsidian-vuepress's People

Contributors

yszar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.