cevin15 / mdtool Goto Github PK
View Code? Open in Web Editor NEWA tool which can process markdown to HTML
License: Apache License 2.0
A tool which can process markdown to HTML
License: Apache License 2.0
在用IDEA导入1.2.2版本的pom后查看源码发现并没有修改关于字符集的设定,导致获取到的html字符不是UTF-8的,我再用不是UTF-8的html字符生成图片的时候,发现中文都是乱码,希望大佬马上看一下新版本的问题,谢谢。
1. 列表1.1
这里是列表1.1的内容
这里是列表1.1的内容
1. 列表1.2
解析为:
<ol>
<li>列表1.1<br>这里是列表1.1的内容<br>这里是列表1.1的内容 </li>
<li>列表1.2 </li>
</ol>
1. 列表1.1
这里是列表1.1的内容
这里是列表1.1的内容
1. 列表1.2
解析为:
<ol>
<li>列表1.1 </li>
</ol>
<p>这里是列表1.1的内容<br>这里是列表1.1的内容<br>1. 列表1.2 </p>
1. 列表1.1
这里是列表1.1的内容
这里是列表1.1的内容
1. 列表1.2
解析为
<ol>
<li><p>列表1.1 </p>
<p>这里是列表1.1的内容<br>这里是列表1.1的内容 </p>
</li>
<li>列表1.2 </li>
</ol>
fun();
单行的code 语法无法实现,解析成了P标签,如下
`function fun(){echo "这是一句非常牛逼的代码";}fun();`
123123
好像不支下面这种格式
[msg][url]
[url]:https://www.example.com
请问一下,反斜杠转义怎么解决呢?
Hi, cenvin15,
Thanks for your wonderful efforts!
I download your codes. As I read them by NetBeans, files are opened with warnings about "unsafely opened by GBK", and Chinese comments are shown in messed characters in my env although my windows is Chinese with GBK encoding. Maybe I need do more settings of Netbeans.
My projects are developed with Netbeans and their sources are always in UTF-8 encoding because I think our codes are shared with non-Chinese people too. I write comments in English due to same reason.
In other way, Chinese comments may be the better way to share codes with Chinese developers. So no best choice~
Mara
aaa *a****b* bbb
github效果:
aaa a**b bbb
html:
<p>aaa <em>a</em>***b* bbb</p>
正确的应该是
<p>aaa <em>a</em>**<em>b</em> bbb</p>
处理表格时,如下,在表格中存在了转义的|(|)时,无法正常解析
字段名称 | 数据类型 | 属性描述 | 是否必填 | 最大长度 | 备注 |
---|---|---|---|---|---|
cardNo | String | 卡号 | 否 | 32 | 卡号 |
personName | String | 人员名称 | 否 | 32 | 长度范围1~32个字符,支持中英文字符,不包含 ' / \ : * ? " < > | |
orgIndexCode | String | 组织编码 | 否 | 64 | 包含数字、字母(小写)和中划线(-) |
如果斜体、加粗等语法字符中间含有空格,则该语法应该不成立
增加Todo list语法
[x]
[ ]
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.