Coder Social home page Coder Social logo

mdnt's Introduction

摘要 mdnt - Markdown Notebook Tool

Go

维护 Markdown 笔记的工具集,方便日常Markdown的维护。 比如: 移动了笔记的位置,导致引用的图片路径对不上的问题。

功能

  • 引用图片处理
    • 删除没有引用的图片文件
    • 修复引用图片的相对路径引用
    • 引用网络图片转本地图片引用
    • 图片目录和笔记目录支持从环境变量读取,详情mdnt help img
  • 加密/解密处理
    • 加密/解密指定文件(敏感笔记)
  • 引用笔记处理
    • 为笔记生产唯一id

      指定id为笔记的第二行 eg: > id:e4405e49fa95b2122e5e0965cf1f3724

    • 为所有未设置id的笔记,设置id
    • 修复引用笔记的相对路径

      通过[alter](path/note.md?<id>),语法匹配到对应的笔记

如何构建

  • 依赖: Golang 1.16
  1. 下载库: git clone [email protected]:thisXYH/mdnt.git && cd mdnt
  2. 编译:go install .

如何使用

Usage:
  mdnt [command]

Available Commands:
  enc         加解密指定笔记
  help        Help about any command
  img         维护 markdown 文档的图片引用
  md          维护 markdown 文档的引用

Flags:
  -h, --help      help for mdnt
  -v, --version   version for mdnt

Use "mdnt [command] --help" for more information about a command.

mdnt's People

Contributors

thisxyh avatar

Stargazers

 avatar  avatar  avatar  avatar Mr.hugh 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.