Preserve empty lines #1968
Unanswered
francisashley
asked this question in
Q&A
Replies: 2 comments
-
samiliar needs, blank lines at the bottom of a code block will not be rendered, but in some scenerio like txt content display require blank lines in the end. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I encountered a similar issue and worked around it by modifying the Prose Paragraph component to include a <template>
<p><slot /></p>
<br>
</template> This approach may not work in all cases and doesn't directly address the original problem, but it could be a potential solution in some scenarios where squeezing all of text together is not ideal. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am looking to preserve all empty lines in markdown documents.
I tried both disabling the
remark-squeeze-paragraphs
plugin in the configuration fileand deleting all reference to
rehype
/remark
in the dist source code.In both cases, all empty lines were still cleared from
body.children
onhttp://localhost:2015/api/_content/query
.Anyone have a suggestion on how to preserve these? Thanks
Beta Was this translation helpful? Give feedback.
All reactions