mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Two related UI fixes for the skill detail page: 1. YAML block scalar parsing: description fields using >-, >, |, |- syntax showed the raw indicator instead of the parsed value. Fix both frontend (parseScalarValue) and backend (ParseFrontmatterField) to recognize block indicators and read indented continuation lines. 2. File viewer: non-markdown files (.py, .sh, etc.) rendered as plain <pre> without line numbers or highlighting. Now all non-markdown files use CodeMirror, with Python syntax highlighting via @codemirror/lang-python.