Skip to content

Net Parser v0.4.1-alpha

Choose a tag to compare

@worthant worthant released this 11 Mar 18:15
· 4 commits to master since this release

This patch improves the Markdown output format by eliminating confusing answer numbering.

Improvements

  • Streamlined Answer Format: Removed numbering from most answer options to avoid confusion with actual numeric answers
  • Selective Formatting: Kept letter prefixes (a, b, c...) for matching-type questions with images only
  • Better Readability: Cleaner presentation of answers, especially for numeric values
  • Consistent Output: More uniform formatting across different question types

Usage

# Convert TXT to improved Markdown format
node dist/converters/txt-to-md.js input.txt output.md [imageBasePath]
# Convert Markdown to PDF
node dist/converters/md-to-pdf.js input.md output.pdf [cssPath] [imageBasePath]

Before vs After

Before:

Type: Text Input (3 correct answers)
✓ 1. b
✓ 2. B
✓ 3. и

After:

Type: Text Input (3 correct answers)
✓ b
✓ B
✓ и

Important

Letter prefixes are still used for matching values with images:

Type: Matching Values (6 correct answers)
✓ a. Format Prefix
✓ b. Top-Level Aggregation

Roadmap Progress

  • .fdb -> .txt converter
  • .txt encoding fixer utility
  • .fdb -> .md with image support
  • .md -> .pdf converter with dark theme
  • .txt -> .pdf direct converter (coming in later patches)
  • .fdb -> .json
  • integrate with test solver utility
  • test everything thoroughly
  • unified cli (v1.0.0)