Giter VIP home page Giter VIP logo

doocs / md Goto Github PK

View Code? Open in Web Editor NEW
4.8K 54.0 751.0 157.19 MB

✍ WeChat Markdown Editor | 一款高度简洁的微信 Markdown 编辑器:支持 Markdown 语法、色盘取色、多图上传、一键下载文档、自定义 CSS 样式、一键重置等特性

Home Page: https://doocs.github.io/md/

License: Do What The F*ck You Want To Public License

JavaScript 43.18% HTML 1.52% Vue 50.02% Less 5.24% Shell 0.04%
wechat articles markdown editor markdown-editor javascript github-pages gitee-pages vue doocs

md's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

md's Issues

问题:无序列表如何自定义样式?

目前我们自定义了一套 CSS 样式,包括引用、正文、标题等都可以生效,但无序列表无法自定义样式,我尝试过的设置有:

ul, ol {
  padding-left: 15px;
}

li {
  margin: 10px;
}

li p {
  margin: 10px 0 !important;
}

ul ul, ul ol, ol ul, ol ol {
  margin: 0;
  padding-left: 10px;
}

ul {
  list-style: square;
}

dl {
  padding: 0;
}

dl dt {
  font-size: 1em;
  font-weight: bold;
  font-style: italic;
}

dl dd {
  margin: 0 0 10px;
  padding: 0 10px;
}

如果单纯设置无序列表的样式比如自定义字体、缩进,有特殊的标记格式嘛?

建议

  1. 能否让

这个
字体改成浅灰色,希望默认就这样,哈哈,并且引用的字体能比正文字体小1.5px

  1. 代码高亮希望继续支持
    version Docker Automated Build AWVS14_Update
    能否把这种做成文字效果,原本是图片,边框圆润滑,应该用<span>还是

导出HTML异常

### Updates by Docker

- Automatic deployment using Github Action

## Use

\```bash
docker run -it -d \
--name awvs \
-p 3443:3443 \
--restart=always \
xrsec/awvs:latest
\```
### Updates by Docker
### Updates by Docker
### Updates by Docker

导出html 换行异常

能否做成npm包发布

现在想在项目里引入这个,太麻烦了,还得扣代码,也不利于后期的升级与维护。

请求 Github Pages 的 CNAME支持

看到该项目提交代码后会通过Github Action部署到Github Pages.

可以使用 {user}.github.io/md域名去访问.

如果在gh-pages手动添加CNAME文件,由于Github部署时候带了子目录md,而CNAME是在根目录,会导致全部文件404.

并且,每次提交都会重新部署一次,似乎会导致gh-pages分支的CNAME文件丢失.

能否添加完善的CNAME支持,可以使用自定义域名访问,感谢.

keybase.me

Keybase proof

I hereby claim:

  • I am gijstm on github.
  • I am gijstm (https://keybase.io/gijstm) on keybase.
  • I have a public key ASB5YLIbyyf2h9ODhP9hv-k6OZD_Q0Ht9uDVmYN72OSKBgo

To claim this, I am signing this object:

{
  "body": {
    "key": {
      "eldest_kid": "01207960b21bcb27f687d38384ff61bfe93a3990ff4341edf6e0d599837bd8e48a060a",
      "host": "keybase.io",
      "kid": "01207960b21bcb27f687d38384ff61bfe93a3990ff4341edf6e0d599837bd8e48a060a",
      "uid": "c0ad7d221348f8a444907c0669c48519",
      "username": "gijstm"
    },
    "merkle_root": {
      "ctime": 1612859669,
      "hash": "675269925c96579fc71548e119802a26abd92a3a812ebac8077f7daf0e3159d11807d959901b1f8acc2da9a2e515a92ad245e7f68774d4a255f841abac333fac",
      "hash_meta": "38548b1547337bf988cae7aac254d4894062cc14bb2693b97dade919e66e6468",
      "seqno": 19055943
    },
    "service": {
      "entropy": "R90nGwJ1DifRsYDbbOIJBotd",
      "name": "github",
      "username": "gijstm"
    },
    "type": "web_service_binding",
    "version": 2
  },
  "client": {
    "name": "keybase.io go client",
    "version": "5.6.0"
  },
  "ctime": 1612859682,
  "expire_in": 504576000,
  "prev": "d6d606d021b46c9db25c87f29a0f1c324a57e3773df0b0c60cd9aa4854051c2f",
  "seqno": 6,
  "tag": "signature"
}

with the key ASB5YLIbyyf2h9ODhP9hv-k6OZD_Q0Ht9uDVmYN72OSKBgo, yielding the signature:

hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgeWCyG8sn9ofTg4T/Yb/pOjmQ/0NB7fbg1ZmDe9jkigYKp3BheWxvYWTESpcCBsQg1tYG0CG0bJ2yXIfymg8cMkpX43c98LDGDNmqSFQFHC/EIM22rMaO59xntfi6M4q/EBCehudDmdWhpNFFCD5/KOHdAgHCo3NpZ8RAj55ru2VDF9oEXWZQEZX1CDbf+gVH9HgKoPGZDc/xbgU1U1SYdfWi4DZhj0SwYme/WJ1xQrzYl9U/XmvR+463BKhzaWdfdHlwZSCkaGFzaIKkdHlwZQildmFsdWXEIKiGnw4ubQRmX2uEWQPsGuZMmIbSZVBopfcajLNGgxA9o3RhZ80CAqd2ZXJzaW9uAQ==

And finally, I am proving ownership of the github account by posting this as a gist.

My publicly-auditable identity:

https://keybase.io/gijstm

From the command line:

Consider the keybase command line program.

# look me up
keybase id gijstm

调整代码字体大小

请问如何在定制 css 时调整代码字体大小,没有提供相关示例。 在公众号中如果代码字体太大,看起来不方便。

本地启动失败

系统:macOS 12
node 版本: 14.15.5
使用了 nvm,错误截图如下:
image

编辑器外观重构

编辑器可能要在外观上做调整,将顶部菜单栏调整为软件菜单栏的形式,大致分为:

文件 格式 编辑 样式 帮助
导入 .md
导出 .md
导出 .html
设置偏好(黑夜模式等)
加粗
斜体
删除线
超链接
格式化
微信外链转底部引用
重置
插入图片
插入表格
字体
字号
主题色
自定义 CSS
关于

有没有同学有兴趣做的?或者有没有其他更好的设计实现方案,欢迎交流

外链 不能展示

在markdown中写的外链,在您平台上转化个时候,丢失了跳转的外链。有解决的办法吗?

添加css时网页卡死

作者你好~ 我发现在添加CSS样式的时候页面会卡死(Chrome&Edge),在现有的CSS上编辑没有问题。比如在末尾添加:

div {
  margin-top: 10em;
}

而且,复制粘贴没有问题,直接输入就会卡死。

有没有想法支持minio啊?

RT. 我下载代码想Pr,但是跑不起来,提示下面这个错误

> [email protected] start
> run-p serve mm


> [email protected] serve
> vue-cli-service serve


> [email protected] mm
> npx mockm --cwd=mm

 INFO  Starting development server...
 ERROR  Error: Cannot find module './buble.js'
Require stack:
- E:\Projects\OpenSource\md\node_modules\vue-template-es2015-compiler\index.js
- E:\Projects\OpenSource\md\node_modules\@vue\component-compiler-utils\dist\compileTemplate.js
- E:\Projects\OpenSource\md\node_modules\@vue\component-compiler-utils\dist\index.js
- E:\Projects\OpenSource\md\node_modules\vue-loader\lib\index.js
- E:\Projects\OpenSource\md\node_modules\@vue\cli-service\lib\config\base.js
- E:\Projects\OpenSource\md\node_modules\@vue\cli-service\lib\Service.js
- E:\Projects\OpenSource\md\node_modules\@vue\cli-service\bin\vue-cli-service.js
Error: Cannot find module './buble.js'
Require stack:
- E:\Projects\OpenSource\md\node_modules\vue-template-es2015-compiler\index.js
- E:\Projects\OpenSource\md\node_modules\@vue\component-compiler-utils\dist\compileTemplate.js
- E:\Projects\OpenSource\md\node_modules\@vue\component-compiler-utils\dist\index.js
- E:\Projects\OpenSource\md\node_modules\vue-loader\lib\index.js
- E:\Projects\OpenSource\md\node_modules\@vue\cli-service\lib\config\base.js
- E:\Projects\OpenSource\md\node_modules\@vue\cli-service\lib\Service.js
- E:\Projects\OpenSource\md\node_modules\@vue\cli-service\bin\vue-cli-service.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (E:\Projects\OpenSource\md\node_modules\vue-template-es2015-compiler\index.js:1:13)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (E:\Projects\OpenSource\md\node_modules\@vue\component-compiler-utils\dist\compileTemplate.js:10:19)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
                      _              
>> mockm v1.1.25     | |
 _ __ ___   ___   ___| | ___ __ ___
| '_ ` _ \ / _ \ / __| |/ / '_ ` _ \
| | | | | | (_) | (__|   <| | | | | |
|_| |_| |_|\___/ \___|_|\_\_| |_| |_|

ERROR: "serve" exited with 1.

Process finished with exit code 1

图片上传报错

1345
作者您好,发现在使用过程中,使用默认图床上传图片,会出现错误。图片是上传成功的,但是并没有把上传后的链接填充到编辑区域。

图片上传失败

请问github搭建的图床粘贴时会报:图片上传失败。示例中的可以正常粘贴。为什么?

How to get in touch regarding a security concern

Hey there!

I belong to an open source security research community, and a member (@ning1022) has found an issue, but doesn’t know the best way to disclose it.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

lost code block‘s style

Hi there,

There is a bug that web ide can not render the code block's style.

Thanks and happy new year ☕

VERY IMPRESSIVE!

VERY IMPRESSIVE and this is the ONLY one i could use in success.
i have one question: do you plan to support LaTex in markdown?

裂墙需求便携式离线版~~~

单位电脑不能上网, 只能用离线的绿色版本...超级喜欢这种自定义样式的模式, 能不能出一个单机的离线便携版呀, 我日常办公已经离不开Markdown了

重置建议

我建议取消内容重置。

这就好比很多工具中,你设置了很多东西,最后又想重新设置,就可以恢复默认设置。

斜体显示

我注意到本项目(我pull了最新的代码在本地也测试过)使用*斜体*显示会导致换行,不知道是否故意这么设计的?

md

另外,我最近才发现使用这个项目,对会一些技术的人来说真的很友好!谢谢你的贡献!

样式丢失问题

Hi
我用 htmlcss 写了一个 Card,代码如下 👇

<div style="margin: auto; width:250px; box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); text-align: center; border-radius: 10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); box-shadow: 0 0 20px #a812ff;">
   <img style="width:20%; height:20%;" src="https://gitee.com/jeremywuiot/img-res-all/raw/master/src/iie_shop/tack_purple_128x128.png"/>
   <img src="https://gitee.com/jeremywuiot/img-res-all/raw/master/src/iie_shop/wechat_qr_code_2021_02.png" style="width:100%"/>
      <img style="width:15%; height:15%; position: relative; top: 0px;left: 0px;" src="https://gitee.com/jeremywuiot/img-res-all/raw/master/src/iie_shop/tada.gif" />
      <div style="padding: 1px;">
         <p style="font-size:12px; color: #a812ff">长按关注公众号 ⌈全栈民工⌋ 🎉</p>
         <p style="font-size:12px; color: #a812ff">原创技术文章第一时间推送 🙌</p>
      </div>
</div>

md 中显示正常,如下 👇
image

但是复制到公众号编辑器里,显示就比较奇怪了,看起来样式丢失了 🐛
image

环境如下:

  • OS - Windows 11 Professional 21H2
  • Browser - Microsoft Edge 96.0.1054.62

Thanks ☕

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.