Skip to content

Conversation

@jSchuetz88
Copy link
Member

@jSchuetz88 jSchuetz88 commented Nov 12, 2025

Introduction

This PR introduces a script which converts CSV-files of the CACs to markdown files. Currently only a test based on CX-0128 (DCM). For this, this PR adds a pre-builder.

Build requires:

  • npm install papaparse

Notes

There a some edge-cases which need a fix first:

  • In case the CAC-CSV-file uses ; in its content, the table will not be parsed correctly.
  • The .md is generated in the same folder as the .csv -> The csv. should be part of the assets while the .md should be stored in the root of the standards.
  • The format might need some (optical) improvements.
  • The packages.json also imports csv-parser and raw-loader. Both are not required (I think).
  • It seems the generated markdown has a linting issue which causes the validation to fail.

CC

@jmseidel2


Screenshots

The outcome MD-based table looks as follows:
Bildschirmfoto 2025-11-12 um 13 00 12

The ToC looks as follows:
image

@jSchuetz88 jSchuetz88 self-assigned this Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants