javascript - Markdown 编辑图片,表格,代码框语法没错,图片不显示
本文介绍了javascript - Markdown 编辑图片,表格,代码框语法没错,图片不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
四、图片与链接
图片为: ![]() 例子:
![shoes](http://frj2017.qiniudn.com/17-7-18/57549620.jpg)
链接为: []() 例子:
[baidu](http://baidu.com)
六、表格
1| Tables | Are | Cool |
2| ------------- |:-------------:| -----:|
3| col 3 is | right-aligned | $1600 |
4| col 2 is | centered | $12 |
5| zebra stripes | are neat | $1 |
七、代码框
用两个`把代码包裹起来就可以出现一个框。比如:var im=12;
function(){
display();
}12`
如上面的三段代码所示,我在Markdown 里编辑后显示不出来想要的效果,请问哪里出错了?
解决方案
我这一段答案是通过markdown写的,试试有没有错
// 代码框是三个点的
// 图片应该这样写
// 你应该没有写错,只不过用的图片连接不对,在浏览器打开图片看看
// 看看我这个对不对
// ![图片描述](https://img.shields.io/travis/USER/REPO.svg)
## 表格应该这样写
| 1 | Tables | Are | Cool |
| --- | :-------------: |-------------:| -----:|
| 2 | col 3 is | right-aligned | $1600 |
| 3 | col 2 is | centered | $12 |
| 4 | zebra stripes | are neat | $1 |
1 | Tables | Are | Cool |
---|---|---|---|
2 | col 3 is | right-aligned | $1600 |
3 | col 2 is | centered | $12 |
4 | zebra stripes | are neat | $1 |
这篇关于javascript - Markdown 编辑图片,表格,代码框语法没错,图片不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文