Coder Social home page Coder Social logo

openmiv / mdx-editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maqi1520/mdx-editor

0.0 0.0 0.0 2.78 MB

⛷ A versatile WeChat typesetting editor,also a cross-platform Markdown note-taking software ⛷ 微信排版编辑器,也是一款跨平台 Markdown 笔记软件

Home Page: https://editor.runjs.cool

License: GNU General Public License v3.0

JavaScript 62.16% TypeScript 1.21% CSS 36.63%

mdx-editor's Introduction

English | 简体中文

MDX Editor

一个好用的微信排版编辑器,更是一个跨平台 Markdown 笔记软件

灵感

Markdown 是广大程序员酷爱的写作方式,但满足不了微信排版的需求,MDX 正好弥补了 Markdown 的缺陷。我的博客正好也是使用 MDX 来书写的,如何做到一次书写,排版统一? 当我看到 mdxjs playground 的时候,我就在思考能否实现类似的方案?

功能

网页版

在线体验

  • 支持一键复制到微信公众号
  • 支持自定义样式组件,自定义样式,生成二维码、代码 diff 高亮,
  • 支持生成文章目录
  • 支持生成微信脚注
  • 自动转换微信外链为span
  • 支持代码格式化
  • 支持文章分享
  • 支持下载 markdown
  • 支持导出 pdf

桌面版

下载地址

桌面版除了网页版的功能之外,还支持

  • 支持本地文件实时保存
  • 支持本地文件目录树管理
  • 支持导出 HTML

模板效果

浅绿色卡片 初夏风格
简历模板 代码 diff 高亮
生成二维码 旅行计划

开发

网页版在 main 分支

yarn
yarn dev

桌面版在 tauri-app 分支

yarn
yarn tauri dev

赞助作者

支付宝 微信
支付宝赞赏码 微信赞赏码

FAQ

1. macOS 系统安装完后显示「文件已损坏」或者安装完打开没有反应

因为 MDX Editor 没有签名,所以会被 macOS 的安全检查所拦下。

  1. 安装后打开遇到「文件已损坏」的情况,请按如下方式操作:

信任开发者,会要求输入密码:

sudo spctl --master-disable

然后放行 MDX Editor :

xattr -cr /Applications/MDX\ Editor.app

然后就能正常打开。

如果提示以下内容

option -r not recognized

usage: xattr [-slz] file [file ...]
       xattr -p [-slz] attr_name file [file ...]
       xattr -w [-sz] attr_name attr_value file [file ...]
       xattr -d [-s] attr_name file [file ...]
       xattr -c [-s] file [file ...]

The first form lists the names of all xattrs on the given file(s).
The second form (-p) prints the value of the xattr attr_name.
The third form (-w) sets the value of the xattr attr_name to attr_value.
The fourth form (-d) deletes the xattr attr_name.
The fifth form (-c) deletes (clears) all xattrs.

options:
  -h: print this help
  -s: act on symbolic links themselves rather than their targets
  -l: print long format (attr_name: attr_value)
  -z: compress or decompress (if compressed) attribute value in zip format

执行命令

xattr -c /Applications/MDX\ Editor.app/*

如果上述命令依然没有效果,可以尝试下面的命令:

sudo xattr -d com.apple.quarantine /Applications/MDX\ Editor.app/

部署

Vercel Platform from the creators of Next.js.

参考

mdx-editor's People

Contributors

maqi1520 avatar dependabot[bot] 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.