Skip to content

Commit 794f46a

Browse files
committed
docs: ✏️ update docs
1 parent 9d4dba9 commit 794f46a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ A TypeScript-based HTML template parser that provides a fluent API for manipulat
2121

2222
## Features
2323

24-
## Features
25-
2624
- 🔄 Fluent API for HTML manipulation
2725
- 🎯 Precise control over HTML document structure
2826
- 📦 Easy integration with webpack
@@ -160,7 +158,7 @@ const modifiedHtml = parser
160158
- `upsertBodyScripts(scripts: ScriptItem[])`: Updates or inserts script tags in the body
161159
- `serialize()`: Converts the modified document back to HTML string
162160

163-
#### `parseTemplate` Function
161+
### `parseTemplate` Function
164162

165163
A utility function that provides a convenient way to parse and modify HTML templates in a single step.
166164

@@ -178,7 +176,7 @@ The `parseTemplate` function is a shorthand for creating a `TemplateParser` inst
178176

179177
This function is particularly useful when you want to perform all template modifications in a single operation without manually chaining multiple method calls.
180178

181-
#### Type Definitions
179+
### Type Definitions
182180

183181
```typescript
184182
type Position = 'beginning' | 'end';

0 commit comments

Comments
 (0)