Comments (8)
@JiaHeng-DLUT 确实是代码逻辑的问题,已经在最新的版本里修复了。have a try 😄
from gittoc.
@JiaHeng-DLUT Hi~能给我看下消失的代码块的markdown源码吗😄
from gittoc.
## Test1
```c++
#include <iostream>
using namespace std;
int main() {
cout << "md" << endl;
return 0;
}
``\`
去掉最后的 \
from gittoc.
@JiaHeng-DLUT ok.因为这个脚本是检测“#”的,如果代码块里有#,需要把它放到''' '''包起来的代码块里面,所以你的代码块需要改成
'''c++
## test1
...
...
'''
from gittoc.
但是 GitHub Flavored Markdown
并不支持 '''...'''
代码块呀
from gittoc.
@JiaHeng-DLUT 抱歉打错了,代码块是 ``` ```标准markdown语法的
from gittoc.
@Holy-Shine 抱歉,我没理解要怎么改。我又测试了一下,发现只有一级标题下的代码块转换之后缩进正常,二三四级标题下的代码块的缩进都消失了。
Markdown 源码如下:
from gittoc.
刚刚测试了一下,确实已经修复了呢,点赞👍
from gittoc.
Related Issues (4)
- 很棒!赞一个!哈哈哈
- 大佬可否打个包,不会python一点也不会用啊... HOT 4
- 二级无序标题的缩进消失 HOT 2
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 gittoc.