https://github.com/ietf-tools/draftforge
VS Code extension to write, review, refine and submit Internet-Drafts.
https://github.com/ietf-tools/draftforge
extension internet-draft rfc rfc-editor
Last synced: about 2 months ago
JSON representation
VS Code extension to write, review, refine and submit Internet-Drafts.
- Host: GitHub
- URL: https://github.com/ietf-tools/draftforge
- Owner: ietf-tools
- License: bsd-3-clause
- Created: 2025-11-22T02:36:05.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-03-26T20:26:32.000Z (2 months ago)
- Last Synced: 2026-03-27T08:42:38.845Z (2 months ago)
- Topics: extension, internet-draft, rfc, rfc-editor
- Language: JavaScript
- Homepage: https://draftforge.ietf.org
- Size: 2.81 MB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 11
-
Metadata Files:
- Readme: README-vscode.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

# IETF DraftForge
> Warning ⚠️ - This is alpha release that should only be used for testing and development purposes by IETF / RFC-Editor staff.
IETF DraftForge provide tools, validation checks and snippets for both Internet-Drafts authors and the RFC Production Center.
## Install
Follow the [User Guide](https://draftforge.ietf.org/install/) for installation instructions.
Some features of this extension relies on several dependencies that must also be installed, depending on your workflow.
This extension should almost never be installed standalone. Install one of these extension packs instead:
- [DraftForge for Internet-Draft Authors](https://marketplace.visualstudio.com/items?itemName=ietf.draftforge-authors)
- [DraftForge for the RFC Production Center](https://marketplace.visualstudio.com/items?itemName=ietf.draftforge-rpc)
## Features
- Validation Checks
- Articles Check
- Hyphenation Check
- Inclusive Language Check
- Names Check
- Non-ASCII Check
- Placeholders Check
- RFC-specific Terms Check
- Repeated Words Check
- Typos Check
- Tools
- Add XML Models
- Export as HTML
- Export as PDF
- Export as TXT
- Extract `[rfced]` comments
- Extract Code Components
- Format Document
- IDNits
- List Abbreviations
- List Inconsistent Capitalization
- List Inconsistent Formatting
- Lookup Selection Across Docs
- Open Preview
- Strip `^M` Line Endings
- Surround BCP 14 Keywords
- SVG Check
- Snippets
- Author Block
- Date Element
- Table
- Reference
- User Guide
- RFCXML
- Vocabulary
## Extension Settings
This extension contributes the following settings:
- `draftforge.experience`: Set to `author` *(default)* for an author-centric experience or `rpc` for a RPC staff-centric experience.
- `draftforge.idnits.mode`: The default validation mode to use when running IDNits. Set to `prompt` *(default)* to be prompted every time or to `normal`, `forgive`, `submission`.
- `draftforge.idnits.offline`: Whether to run IDNits in offline mode. Any check that requires an internet connection will be skipped. (Defaults to `false`)
- `draftforge.svgcheck.executablePath`: svgcheck executable name or path. (Defaults to `svgcheck`)
- `draftforge.svgcheck.flags`: The flags to provide to svgcheck. Do not include the output format / paths flags. (Defaults to *empty*)
- `draftforge.xml2rfc.executablePath`: XML2RFC executable name or path. (Defaults to `xml2rfc`)
- `draftforge.xml2rfc.previewFlags`: The flags to provide to xml2rfc for the live preview of XMLRFC documents. Do not include the output format / paths flags. (Defaults to `--v3 --no-dtd --no-network --id-is-work-in-progress`)
- `draftforge.xml2rfc.htmlOutputFlags`: The flags to provide to xml2rfc when generating HTML outputs of XMLRFC documents. Do not include the output format / paths flags. (Defaults to `--v3 --id-reference-base-url="https://datatracker.ietf.org/doc/html/" --rfc-reference-base-url="https://www.rfc-editor.org/rfc/" --metadata-js-url="https://www.rfc-editor.org/js/metadata.min.js" --id-is-work-in-progress`)
- `draftforge.xml2rfc.txtOutputFlags`: The flags to provide to xml2rfc when generating TXT outputs of XMLRFC documents. Do not include the output format / paths flags. (Defaults to `--v3 --bom --id-reference-base-url="https://datatracker.ietf.org/doc/html/" --id-is-work-in-progress`)
- `draftforge.xml2rfc.pdfOutputFlags`: The flags to provide to xml2rfc when generating PDF outputs of XMLRFC documents. Do not include the output format / paths flags. (Defaults to `--v3 --id-reference-base-url="https://datatracker.ietf.org/doc/html/" --rfc-reference-base-url="https://www.rfc-editor.org/rfc/" --id-is-work-in-progress`)
## Release Notes
See [Releases](https://github.com/ietf-tools/draftforge-ext/releases) on GitHub for the full release notes.