catmdx 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,10 +5,10 @@ Read markdown efficiently.
5
5
  ## Usage
6
6
 
7
7
  ```bash
8
- # read metadata, TOC and the '#Usage' section from target markdown
8
+ # print metadata, TOC and the '#Usage' section from target markdown
9
9
  npx catmdx README.md --metadata --toc --section 'Usage'
10
10
 
11
- # or - read from online files
11
+ # or - print from online files
12
12
  curl https://raw.githubusercontent.com/gzzhanghao/catmdx/refs/heads/main/README.md | npx catmdx --toc --stdin
13
13
  ```
14
14
 
@@ -25,5 +25,7 @@ Options:
25
25
  -i, --stdin Read markdown content from stdin
26
26
  -m, --metadata Print metadata
27
27
  -t, --toc Print table of contents
28
+ --toc-metadata Print section metadata in table of contents
28
29
  -s, --section <section> Print specific section (e.g. "Introduction" or "#2")
30
+ -r, --recursive Print subsections recursively
29
31
  ```