Skip to content

Commit 59c326d

Browse files
committed
Refine README
1 parent a01a70d commit 59c326d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@ It comes as a script that plugs diretly into the DOM and have new semantics take
1616

1717
## Capabilities
1818

19-
### `1. |` A component system
19+
### `1 | ` A component system
2020

2121
OOHTML enables a simple "define-and-use" system in HTML that is based on two complementary elements — the `<template>` and `<import>` elements. It makes it really easy to share repeating structures and stay organized.
2222

23-
### `2. |` Data-binding and reactivity
23+
### `2 | ` Data-binding and reactivity
2424

2525
OOHTML gives HTML the concept of data-binding (`{ expression }`) and reactivity that lets you embed application data in markup and have them stay in sync with application state. You get framework-grade reactivity without the overhead.
2626

27-
### `3. |` New scoping behaviours
27+
### `3 | ` New scoping behaviours
2828

2929
OOHTML extends the existing CSS scoping system to support the familiar `<style scoped>` syntax, introduces scoping for scripts (`<script scoped>`), and solves namespacing for IDs (`namespace`). They form a complete scoping system that is both declarative and powerful.
3030

3131
## Overview
3232

3333
All of the above can be seen in a three-step tour. Each sample document below can be previewed directly in the browser:
3434

35-
### `1. |` Write HTML as Reusable Components
35+
### `1 | ` Write HTML as Reusable Components
3636

3737
At its core, OOHTML is a component system. It lets you write HTML as reusable components.
3838

39-
The standard `<template>` element already lets you define reusable markup. OOHTML completes the idea by introducing the `<import>` element. Together, they form a declarative component system.
39+
The standard `<template>` element already lets you define reusable markup. OOHTML completes the idea by introducing the `<import>` element.
4040

4141
You write the following:
4242

@@ -98,7 +98,7 @@ It resolves to the following, at runtime:
9898
> [!NOTE]
9999
> Later we'll cover the various usage patterns supported by the `<template>` and `<import>` system. We will also introduce file-based components and remote imports.
100100
101-
### `2. |` Do Data-Binding with Standard HTML Comments
101+
### `2 | ` Do Data-Binding with Standard HTML Comments
102102

103103
As a complete component system, OOHTML extends the DOM to support data-binding and reactivity.
104104

@@ -165,7 +165,7 @@ It resolves to the following, at runtime:
165165
> [!NOTE]
166166
> Later we'll cover OOHTML's attribute-based binding syntax. We'll also formally introduce Mutation-Based Reactivity – the form of reactivity that OOHTML is based on.
167167
168-
### `3. |` More Typical Usage Patterns
168+
### `3 | ` More Typical Usage Patterns
169169

170170
From the component and data-binding systems above to the scoping system yet to be discussed – OOHTML's features compose nicely into various usage patterns.
171171

0 commit comments

Comments
 (0)