Skip to content

Commit 8127881

Browse files
committed
docs: use pluses as section separator
1 parent 98cf407 commit 8127881

File tree

20 files changed

+35
-36
lines changed

20 files changed

+35
-36
lines changed

packages/examples/simple-blog/contact/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Contact me
1010

1111
[contact-me]
1212

13-
---
13+
+++
1414
[image]
1515
src: /img/profile.jpg
1616
size: 460 x 460

packages/nuejs.org/blog/rethinking-reactivity/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ To understand this choice we must go back in time. The world used to be slightly
8282
- Accessibility
8383
- UI libraries
8484

85-
---
85+
+++
8686
### JS development
8787
- Advanced TypeScript/JS
8888
- Business logic

packages/nuejs.org/blog/tailwind-vs-semantic-css/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This study compares two websites with similar design: The commercial Spotlight t
1313
href: //spotlight.tailwindui.com/
1414
small: img/tw-home.png
1515
large: img/tw-home-big.png
16-
---
16+
+++
1717
[image]
1818
href: /@spotlight/
1919
large: img/nue-home-big.png
@@ -117,7 +117,7 @@ Here's a better example. Let's look at the "Uses" or "Setup" page on both implem
117117
small: img/tw-uses.png
118118
large: img/tw-uses-big.png
119119
caption: Tailwind UI version →
120-
---
120+
+++
121121
[image]
122122
href: /@spotlight/setup/
123123
large: img/nue-uses-big.png

packages/nuejs.org/docs/_content-syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ This expanded capability allows you to reference full concepts or phrases, impro
154154

155155

156156
### Sections
157-
You can split your content into sections with a triple dash `---` making your content render like this:
157+
You can split your content into sections with a triple plus `+++` making your content render like this:
158158

159159
```
160160
<article>
@@ -274,7 +274,7 @@ And when styled with CSS, it takes on a visually structured layout:
274274
[render]
275275

276276
#### Separator
277-
Nue automatically uses the first `h2` or `h3` tag within a block as the **separator** for the content blocks. If needed, you can use a **triple-dash** (`---`) as an explicit separator to customize content divisions.
277+
Nue automatically uses the first `h2` or `h3` tag within a block as the **separator** for the content blocks. If needed, you can use a **triple-plus** (`+++`) as an explicit separator to customize content divisions.
278278

279279
For example:
280280

@@ -283,7 +283,7 @@ For example:
283283
### Design
284284
Design blends form and function.
285285

286-
---
286+
+++
287287

288288
### Engineering
289289
Code enhances the user experience while staying performant.

packages/nuejs.org/docs/content-tags.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,14 +459,14 @@ You can apply a specific class for styling. Here’s an example using `.card` to
459459

460460
### Defining separators
461461

462-
Nue uses the first heading element (`h2` or `h3`) to create new accordion entries automatically. Alternatively, use the triple-dash (`---`) separator to define new entries explicitly:
462+
Nue uses the first heading element (`h2` or `h3`) to create new accordion entries automatically. Alternatively, use the triple-plus (`+++`) separator to define new entries explicitly:
463463

464464
```md
465465
[accordion]
466466
## First element
467467
The contents of the first element.
468468

469-
---
469+
+++
470470

471471
## Second element
472472
The contents of the second element.

packages/nuejs.org/docs/content.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,16 @@ This generates sections with corresponding class names:
100100

101101
### Manual sections
102102

103-
For more granular control, you can use triple dashes (`---`) to explicitly create section breaks:
103+
For more granular control, you can use triple pluses (`+++`) to explicitly create section breaks:
104104

105105
```md
106106
First section content...
107107

108-
---
108+
+++
109109

110110
Second section content...
111111

112-
---
112+
+++
113113

114114
Third section content...
115115
```
@@ -175,19 +175,19 @@ This generates:
175175
</div>
176176
```
177177

178-
You can also create more flexible grid layouts using triple dash as separator:
178+
You can also create more flexible grid layouts using triple plus as separator:
179179

180180
```md
181181
[.grid]
182182
[image feature-1.jpg]
183183
First feature description
184184

185-
---
185+
+++
186186

187187
[image feature-2.jpg]
188188
Second feature description
189189

190-
---
190+
+++
191191

192192
[image feature-3.jpg]
193193
Third feature description

packages/nuejs.org/docs/styling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Once your content is split into sections, you can style each section individuall
181181

182182
Nue can automatically split your content into sections based on `<h2>` headings. Each `<h2>` tag starts a new section, and the section is automatically assigned a class matching the heading (e.g., `.hero`, `.features`). This allows you to structure your content naturally without manually managing section breaks.
183183

184-
Alternatively, you can manually define section breaks using three dashes `---` in your Markdown or YAML configuration for greater control.
184+
Alternatively, you can manually define section breaks using three pluses `+++` in your Markdown or YAML configuration for greater control.
185185

186186
#### Reusing section styles for consistency
187187

packages/nuejs.org/index.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sections: [hero, clean-slate, rebirth ]
2+
sections: [hero, stats-section, clean-slate, rebirth ]
33
include: [form, video]
44
inline_css: true
55
appdir: home
@@ -13,18 +13,18 @@ Nue is **HTML**, **CSS**, and **JavaScript** taken to their absolute peak
1313
Read the announcement ›
1414
[button.ghost "Get started →" href="/docs/installation.html"]
1515

16-
---
16+
+++
1717
[.stats]
1818
Around
1919
## 30× smaller
2020
Binary than Next.js [[1]](/docs/compare.html#install)
2121

22-
---
22+
+++
2323
Around
2424
## 100× faster
2525
Tooling than Next.js [[2]](/docs/compare.html#build)
2626

27-
---
27+
+++
2828
Around
2929
## 30× lighter
3030
Results than in Next.js [[3]](/docs/compare.html#output)
@@ -36,7 +36,7 @@ Nue is **HTML**, **CSS**, and **JavaScript** taken to their absolute peak
3636
**Mauricio Wolff**, design engineering lead at **Loom**
3737

3838

39-
----
39+
+++
4040
## A clean slate
4141
Nue is built from scratch to get web development back on its track
4242

@@ -56,7 +56,7 @@ Nue is built from scratch to get web development back on its track
5656
**Elliot Jay Stocks**, Pioneer in semantic HTML
5757

5858

59-
----
59+
+++
6060
## A rebirth of the frontend
6161
Nue makes a full cleanup for the overly complex ecosystem
6262

@@ -70,4 +70,3 @@ Nue makes a full cleanup for the overly complex ecosystem
7070
alt: Nue roadmap
7171

7272
[feedback]
73-

packages/nuejs.org/tour/1-tooling/hmr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
Page changes | | ×
1818
CSS errors | | ×
1919

20-
---
20+
+++
2121

2222
[image /tour/img/hmr-hero.png]

packages/nuejs.org/tour/1-tooling/speed-compare.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class: compare-page
99
[bunny-video]
1010
videoId: d9ebcf29-9314-4571-856c-0dfa7f49d6d1
1111
width: 587
12-
---
12+
+++
1313
## Nue blog *0.1 seconds to build*
1414
[bunny-video]
1515
videoId: 7bcfcde2-912c-4c30-a442-198bc25ba250

0 commit comments

Comments
 (0)