Skip to content

Add minimal preview syntax highlighting with custom Prism #17

Description

@trsdn

Add preview/print code highlighting with a custom Prism build limited to Swift, JavaScript/TypeScript, JSON, Bash, Python, Rust, HTML, and CSS. Keep editor highlighting native/current, use existing semantic theme tokens, remain CSP-compatible/offline, and stay <=10 KB minified JS plus minimal CSS.\n\nInspired by the lightweight workflow ideas in the sdkks/mdviewer fork. Thanks to @sdkks for the implementation input. Attribution belongs in issue/release records, not README or GitHub Pages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions