Comments (5)
我这边试了可以呀
from editor.md.
Mac OS X 10.10, Google Chrome Version 40.0.2214.115 (64-bit)
Win8 + Chrome 也测了,也不行
有高亮的应该是这样:
from editor.md.
嗯,试了一下,我这边Win7 + Chrome 39也不行,Change时没有及时加上代码高亮的样式类class="prettyprint linenums prettyprinted"。先标记一下,稍后一并修复。
from editor.md.
@v1.1.6 fixed.
from editor.md.
- 请问调用setMarkdown如何传入多行参数呢?
temp 中只要出现转义字符\r\n前端就会渲染失败。
请问是需要设置别的东西吗?
<script type="text/javascript">
var temp = "{{ content }}";
document.write(temp);
$(function () {
var testEditor = editormd("editormd", {
width: "100%",
height: 640,
syncScrolling: "single",
saveHTMLToTextarea: true,
path: "{{url_for('static', filename='editor.md/lib/')}}",
htmlDecode : true ,
onload: function(){
// alert("onload");
this.setMarkdown(temp);
// console.log("onload =>", this, this.id, this.settings);
}
});
});
</script>
from editor.md.
Related Issues (20)
- Hola
- Unable to serialize formula
- wrong table view
- Katex无法识别公式编号问题
- 加载错误
- 示例图片加载错误
- Spellcheck not working
- 使用HTML的table之后会自动在顶部加很多br HOT 2
- 带基础认证信息的链接问题
- Fullscreen Error
- emoji 怎么在html中替换
- Make left side monospace
- There is an XSS on the editor.md.
- Chrome extension to replace GitHub Markdown editor?
- I want add new block quoate syntax to editor md
- 引入之后一直转圈 HOT 1
- Return value of Typecho\I18n\GetText::translate() must be of the type string, null returned
- Invalidity of TeX in tables(forms)
- 默认全窗口预览的问题 HOT 2
- :heart: icon not rendering in Editor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from editor.md.