Comments (5)
这个 ... 代码块突出效果,是故意设计成这样的。
from hugo-paper.
正如我当前issues里面的提问,github的markdown渲染是,代码块和标题以及正文是对齐的,这样不会显得很突兀。这个好修复么,或者我应该修改哪里,可以改成左对齐的呢。我使用的是子模块,也比较方便修改源代码。非常感谢!
from hugo-paper.
这个 ... 代码块突出效果,是故意设计成这样的。
如果只改具体的博客对应的html文件,这个作用返回比较小,每篇博客可能都需要处理,而且技术博客这种代码块还挺多的。所以期望可以从生成器框架的的位置来修复,期待可以提供一个办法,谢啦
from hugo-paper.
Lines 1627 to 1628 in 0fdcdf3
把 article pre { }
下的 margin-left
margin-right
这两行去掉。
from hugo-paper.
解决了,感谢!
from hugo-paper.
Related Issues (20)
- 当代码块内容宽度过宽的时候,代码块不会缩放展示 HOT 4
- facing problem in setting up homepage HOT 1
- how to add text on list page? HOT 1
- how to add images in post using html? HOT 1
- Long links are not wrapped HOT 3
- Setting dark, light, or auto default mode HOT 1
- Disabling gravatar animation HOT 1
- Ordering social icons HOT 1
- 数学公式好像不会换行,导致过长 HOT 3
- Fix Favicons HOT 1
- Add metadata. HOT 1
- Integrate Decap CMS. HOT 1
- Update Insta link variable. HOT 1
- giscus 不随主题自动切换 light/dark 模式 HOT 1
- html 渲染方式和 giscus 存在冲突 HOT 1
- Table of Contents integration possible ? HOT 1
- Inline code is not styled properly HOT 1
- Feature request: support inline code highlighting using single backticks HOT 1
- 南小北这个主题做得不错呀,赞一个先,不过这个主题支持富文本吗?还是说只支持Markdown? HOT 1
- Taxonomies Category Page HOT 1
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-paper.