Comments (3)
Hi, helloqb.
- Please read wiki carefully before posting. Shortcode for inserting figure is implemented here. I've implemented sizing and alignment.
- This issue is caused by incorrect usage of HTML. Please don't forget to add a
<p></p>
before and after a paragraph when using HTML, or the margins will not be shown.
- 请在提问前认真阅读维基。关于插图的Shortcode已经在这里实现。这个功能可以调整图片的尺寸和对齐方式。
- 这个问题是 HTML 使用不正确造成的。请不要忘记在使用HTML时,文段前后须插入
<p></p>
。否则不会生成边距。
For further support, please post your question here.
Thanks for your feedback.
如果还有问题,欢迎在此跟帖。
感谢你的反馈!
from hugo-theme-diary.
@AmazingRise
感谢回复。
- Shortcode 方式我怕会导致文章的兼容性和移植性降低,比如编辑器中的 markdown 预览插件就会失效。
<p></p>
是个不错的补救方法,不过之前的文章都得重新加一下了。
from hugo-theme-diary.
@AmazingRise
感谢回复。
- Shortcode 方式我怕会导致文章的兼容性和移植性降低,比如编辑器中的 markdown 预览插件就会失效。
<p></p>
是个不错的补救方法,不过之前的文章都得重新加一下了。
其实还有一个方法,就是在CSS中对img元素加边距。例如:
img {
margin: 10px;
}
但我个人是不推荐的。因为标准 Markdown 渲染时默认会在一段文字上面加<p>
,如果写 HTML 代码会破坏这个转换。
from hugo-theme-diary.
Related Issues (20)
- 是否可以考虑使用此字体 HOT 1
- 夜间模式下看不见表格内容 HOT 2
- images not displaying HOT 2
- Dark mode refactor HOT 4
- Single quote is replaced with ’ HOT 6
- How to add RSS feed? I don't understand where to add rss link. HOT 3
- Google Analytics 4 will be replaced by Universal Analytics HOT 3
- Way to remove the darkmode toggle? HOT 1
- The About page appears on the homepage article list HOT 2
- <br> new line is not supported in this theme? HOT 1
- Summary feature required
- Can you add Artalk comment function?
- Language meta label and <h1> needed for better SEO HOT 2
- Drawers are not hidden when clicking ToC items on mobile view. HOT 1
- Fix highlighting
- 作者能麻烦您考虑一下加上视频播放功能吗 HOT 1
- URL for Tags does not seem to use baseURL
- error calling Paginator: pagination not supported for this page HOT 5
- iOS safari scrolls pages upwards / incorrect css syntax when headlines are used? HOT 2
- can't deploy site with vercel.
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 hugo-theme-diary.