ksky521 / mpeditor Goto Github PK
View Code? Open in Web Editor NEW微信markdown编辑器
License: MIT License
微信markdown编辑器
License: MIT License
[center]
下面是个「三水清」的微信公众号二维码,欢迎扫描关注:
![关注三水清](https://raw.githubusercontent.com/ksky521/mpeditor/master/static/qrcode_for_me.jpg)
[/center]
[center]
下面是个「三水清」的微信公众号二维码,欢迎扫描关注:
![关注三水清](https://raw.githubusercontent.com/ksky521/mpeditor/master/static/qrcode_for_me.jpg)
[/center]
如果我文章里需要开始一段居中 然后居左 然后再居中, 就实现不了了.
有没有可能开发一个上传图片到第三方图床的功能,比如七牛?
麻烦请问一下应该如何修改标题的样式,想修改一下标题的字体字号啥的,但没学过前端能不能提供一点帮助
首先感谢这个项目的作者 @ksky521, 给我不小启发。
我发现 mpeditor 的预览窗格中,除非有自定义的css,否则大部分元素都是不带 inline style 的。 那么,复制到微信后台时,浏览器是否是按照 computed styles 来复制?(而利用computed styles,似乎必须要使用chrome,才能达到最优的效果)
另外,作者有没有总结过微信后台会过滤哪些 html tag 和 attribute 呢?
进行npm run dev操作时,报如下错误,因为个人不是很熟悉npm,也没有找到一些可参考的文档,想问问作者这个要如何解决呢?
$cat /home/wwwroot/g.woyo.ml/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink /usr/bin/node
5 verbose run-script [ 'predev', 'dev', 'postdev' ]
6 info predev [email protected]
7 info dev [email protected]
8 verbose unsafe-perm in lifecycle true
9 info [email protected] Failed to exec dev script
10 verbose stack Error: [email protected] dev: node build/dev-server.js
10 verbose stack Exit status 8
10 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
10 verbose stack at EventEmitter.emit (events.js:98:17)
10 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
10 verbose stack at ChildProcess.emit (events.js:98:17)
10 verbose stack at maybeClose (child_process.js:766:16)
10 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
11 verbose pkgid [email protected]
12 verbose cwd /home/wwwroot/g.woyo.ml
13 error Linux 3.2.0-4-amd64
14 error argv "/usr/bin/node" "/usr/bin/npm" "run" "dev"
15 error node v0.10.48
16 error npm v2.15.1
17 error code ELIFECYCLE
18 error [email protected] dev: node build/dev-server.js
18 error Exit status 8
19 error Failed at the [email protected] dev script 'node build/dev-server.js'.
19 error This is most likely a problem with the mpeditor package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error node build/dev-server.js
19 error You can get information on how to open an issue for this project with:
19 error npm bugs mpeditor
19 error Or if that isn't available, you can get their info via:
19 error
19 error npm owner ls mpeditor
19 error There is likely additional logging output above.
20 verbose exit [ 1, true ]
咋搞
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.