Comments (5)
That makes sense. I will check if we can reset the CSS for the content
class with code.
from toha.
I am wondering why you are seeing this extra code spaces! The example site has both codeblocks and figures but none has additional spaces after them.
https://hugo-toha.github.io/posts/markdown-sample/
from toha.
My site content is written in AsciiDoc and the example site is written in Markdown as far as I know. I think we should look at the different HTML structures created by the respective HTML generation pipelines
from toha.
The example page seems to have a structure like this
<pre>
<code></code>
<pre>
While my site, which is generated by AsciiDoctor, has an extra div around a similar structure. Looks like the content
class is what is being matched by the CSS rule and gives the min-height
attribute that causes the issue.
<div class="content">
<pre>
<code></code>
<pre>
</div>
Don't know enough about the inner workings of Hugo or AsciiDoctor to research this much further. Any ideas?
from toha.
I did some more research and found a way to make AsciiDoctor play more nice with Hugo, using a custom html5 backend https://cosmos547.moe/posts/hugo-with-asciidoc/#_html_output_from_asciidoctor
Sorry for wasting your time. I was sure it was not an issue with my site since I've ran it without issue with v3 such a long time. Hope this issue serves as a help resource if anyone else runs into the same issue.
from toha.
Related Issues (20)
- No sidebar, No ToC in my Blog HOT 4
- Hide author name and image in post? HOT 6
- Bug: extra anchor in post card tags HOT 1
- Feature request about section Experiences (show logo company) HOT 14
- New french translation about Note feature on the navbar HOT 2
- [Bug] Skills circlular animation broken HOT 5
- Disable newsletter sign-up page after migrating to v4 HOT 4
- Fails set-up local development environment HOT 2
- Post sidebar: expanding last section draws an extra line
- Sidebar/TOC: width and chronological ordering? HOT 3
- The pagination for bigger screens works wrong HOT 2
- bug blurry images HOT 5
- Hovering a post card tag does not change appearance HOT 2
- Change /icons Directory Path HOT 2
- "I want to update the theme automatically, but the theme-update.yml fails." HOT 6
- When I push to my repository deployed on gh-pages, the custom domain field goes blank. This has been happening since I updated from Theme version 3 to version 4. HOT 4
- Feature Request: Show different pictures for dark theme HOT 1
- Bootstrap 5 HOT 1
- Cannot see Hero images on my posts after theme update HOT 4
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 toha.