Replies: 1 comment 2 replies
-
Since you did not provide a title, the first header was used as the title by Quarto. See a simple HTML document: ---
format:
html:
page-layout: custom
include-in-header:
text: |
<style type="text/css">
.content-block {
padding-top: 20px;
padding-bottom: 10px;
margin-left: 30px;
margin-right: 30px;
}
</style>
---
::: {.content-block}
# Custom {.unnumbered}
::: {.grid}
::: {.g-col-6}
This column takes 1/2 of the page
:::
::: {.g-col-6}
This column takes 1/2 of the page
:::
:::
::: |
Beta Was this translation helpful? Give feedback.
2 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.
-
Description
Hi,
I have created and hello world custom layout:
The code is the one you see below, and I have inserted the title (
# Custom {.unnumbered}
) inside the div.content-block
.But if I open the HTML code it is outside it. Is normal? Is there a way to avoid it?
Beta Was this translation helpful? Give feedback.
All reactions