mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-12 19:50:39 +00:00
flag to allow ofm replace in html embed
This commit is contained in:
parent
cc79502670
commit
a70e846b0a
8 changed files with 124 additions and 7 deletions
content
1
content/advanced/architecture.md
Normal file
1
content/advanced/architecture.md
Normal file
|
@ -0,0 +1 @@
|
|||
how does quartz work? great question lol
|
0
content/advanced/paths.md
Normal file
0
content/advanced/paths.md
Normal file
|
@ -79,6 +79,26 @@ If you'd like to make your own plugins, read the guide on [[making plugins]] for
|
|||
|
||||
### Layout
|
||||
|
||||
Certain emitters may also output [HTML](https://developer.mozilla.org/en-US/docs/Web/HTML) files. To enable easy customization, these emitters allow you to fully rearrange the layout of the page.
|
||||
Certain emitters may also output [HTML](https://developer.mozilla.org/en-US/docs/Web/HTML) files. To enable easy customization, these emitters allow you to fully rearrange the layout of the page. The default page layouts can be found in `quartz.layout.ts`.
|
||||
|
||||
Ultimately, each page is composed of multiple different sections which contain `QuartzComponents`. The following code snippet lists all of the valid sections that you can add components to:
|
||||
|
||||
```typescript title="quartz/cfg.ts"
|
||||
export interface FullPageLayout {
|
||||
head: QuartzComponent
|
||||
header: QuartzComponent[]
|
||||
beforeBody: QuartzComponent[]
|
||||
pageBody: QuartzComponent
|
||||
left: QuartzComponent[]
|
||||
right: QuartzComponent[]
|
||||
footer: QuartzComponent
|
||||
}
|
||||
```
|
||||
|
||||
These correspond to following parts of the page:
|
||||
|
||||
### Components
|
||||
|
||||
See [a list of all the components](./tags/component) for all available components.
|
||||
|
||||
### Style
|
||||
|
|
|
@ -6,7 +6,7 @@ Quartz is a fast, batteries-included static-site generator that transforms Markd
|
|||
|
||||
## 🪴 Get Started
|
||||
|
||||
Quartz requires **at least [Node](https://nodejs.org/) v16** to function correctly. In your terminal of choice, enter the following commands line by line:
|
||||
Quartz requires **at least [Node](https://nodejs.org/) v18.14** to function correctly. In your terminal of choice, enter the following commands line by line:
|
||||
|
||||
```shell
|
||||
git clone https://github.com/jackyzha0/quartz.git
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue