Giter VIP home page Giter VIP logo

marktext-specialedition's Introduction

MarkText 0.17.1分叉的特别版

为什么会有这个特别版

笔者的Ebook的项目选择了Markdown作为工件格式,期望编辑器能够:

  • 至少部分实现所见即所得的效果,提高编辑效率;
  • 能够基于项目体系的来持久化图片文件,图片文件的存储结构相对于Ebook项目应该是稳定的。
  • 最好能够内联思维导图、流程图及UML图形,则无需再采用第三方工具来制图。
  • 编辑器支持的Markdown组件应与Ebook网站完全兼容,且复制原始md文件来直接生成网站,结构稳定后不应该有额外的修改工作。

MarkText 0.17.1能大部分满足上述需求,但存在以下几点比较严重的问题:

  1. 自2022-3-8后就没有再更新了,不支持Mermaid 中的 mindmap;
  2. 全局的配置文件,不利于每个不同Ebook项目的个性化配置;
  3. 用于存储图片的相对路径图像文件夹支持的预置变量太少,不能满足复杂结构项目的需求;

更新历史

感谢Ran Luo及其他贡献者的贡献,您如果喜欢原始的MarkText,请访问原始仓库

  • v1.0.0beta发布,包含win_x64、MacOS x64、Arm64等版本;

已实现特色

  • 优化样式,提升空间利用率及操作体验;

  • Mermaid更新到较新版本;

  • 增加 Mermaid mindmap的支持;

  • 修改为中文版本,感谢chinayangxiaowei提供的思路;

  • 类似于vscode工作区,打开不同的目录可以应用不同的设置,folder settings 文件名为marktext.json;

    例如针对文件夹

    {
      "imageRelativeDirectoryName": "${fileWorkspaceFolder}/markdown/_images/${relativeFileDirname}/${fileBasenameNoExtension}",
      "imagePreferRelativeDirectory": true,
      "imageInsertAction": "folder",
      "theme": "one-dark"
    }
  • 优化剪贴板图片的复制的处理,可以通过多个预置变量来个性化图片的本地存储路径;

    变量名 说明
    {filename} 不包含扩展名
    {fileBasenameNoExtension} 同filename,用于与vscode变量兼容
    {fileWorkspaceFolder} 当前打开的项目目录,与vscode变量兼容
    {relativeFileDirname} 当前文件相对项目根目录的相对路径,与vscode变量兼容

截图

  • Mindmap

- 更多的预置变量

marktext-specialedition's People

Contributors

jocs avatar fxha avatar notalaanor avatar mdogadailo avatar jazzfool avatar mrheer avatar kiyoka avatar enyaxu avatar chungzh avatar keitotobi1 avatar tosaynothing avatar brainchild0 avatar supersandro2000 avatar mwesterhof avatar endersonmenezes avatar arthurz avatar zmen avatar topabomb avatar sandersantema avatar erentar avatar bolshoytoster avatar dwpery avatar nikolai-cc avatar illyism avatar rexogamer avatar fishmandev avatar davisriedel avatar alerque avatar brynne8 avatar vemonet 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.