You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use `headings` when you want to include every section at specific heading levels:
27
+
28
+
```md
29
+
<!-- docs FILE
30
+
src="./README.md"
31
+
headings={[2,3]}
32
+
removeLeadingH1
33
+
shiftHeaders=1
34
+
-->
35
+
<!-- /docs -->
36
+
```
37
+
38
+
`sections` matches normalized heading text. `headings={[2,3]}` includes all H2 and H3 sections without duplicating nested sections that are already part of a selected parent.
39
+
12
40
### Chaining Transforms
13
41
14
42
You can use multiple transform blocks in sequence to build complex documentation:
@@ -321,4 +349,4 @@ module.exports = {
321
349
3.**Testing**: Write tests for custom transforms
322
350
4.**Documentation**: Document custom transforms and options
323
351
5.**Validation**: Validate inputs before processing
324
-
6.**Modularity**: Keep transforms focused and reusable
352
+
6.**Modularity**: Keep transforms focused and reusable
0 commit comments