Skip to content

Commit 28c3f71

Browse files
committed
chore: up
1 parent 8019a5d commit 28c3f71

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,25 @@
22

33
Convert Markdown to xml2rfc v3 format (RFC 7991).
44

5-
---
6-
75
## Overview
86

97
md2xml is a tool for converting Markdown documents to xml2rfc v3 XML format, suitable for IETF Internet-Draft submissions.
108

11-
## Quick Start
9+
## Reference
1210

13-
```sh
14-
npx md2xml <input.md>
1511
```
12+
md2xml - Convert Markdown to xml2rfc v3 format
1613
17-
### Example
14+
Usage:
15+
md2xml <input.md> [-o <output.xml>]
1816
19-
```sh
20-
npx md2xml draft-spec.md
21-
# Converted draft-spec.md → draft-spec.xml
17+
Options:
18+
-o, --output Output file path (use "-" for stdout)
2219
23-
npx md2xml draft-spec.md -o out/spec.xml
24-
# Converted draft-spec.md → out/spec.xml
20+
Examples:
21+
md2xml draft.md
22+
md2xml draft.md -o out/draft.xml
23+
md2xml draft.md -o - | xml2rfc --text --html /dev/stdin
2524
```
2625

2726
## License

0 commit comments

Comments
 (0)