narner
April 20, 2022, 4:24pm
1
I’m getting inconsistent markdown rendering between when my site is running locally, and when I’ve deployed it. Here’s a comparison same content locally (on the top) and deployed (on the bottom):
Very baffled as to what is causing this discrepancy!
Here’s the link to my site:
What is the link to the deployed site?
This is what I see in both Chrome and Firefox:
narner
April 20, 2022, 5:35pm
5
You know what I think this may be a Safari vs Chrome issue
It’s a CSS issue, not a Hugo issue.
1 Like
Possible issues:
Browser cache (clear the cache first)
CSS (try define the top and bottom margin on paragraph) like p { margin 16px 0}
so every browser will consistent to make space between paragraph.
This is the CSS default browser value for paragraph element
<style>
/* Default CSS Values */
p {
display: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
}
</style>
1 Like
system
Closed
April 22, 2022, 5:51pm
8
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.