Skip to content

Modernizing the codebase #1539

Closed
Closed
@Andarist

Description

@Andarist

I'm wondering if you'd be interested in modernizing the codebase and introducing a build step.

Why this could be beneficial? Currently marked in written solely in UMD format and this makes modern bundlers unable to even attempt at tree-shaking it. For example, I'd like to only use Lexer class and render things myself, but currently I end up with everything else what's exported by marked.

I, of course, offer my help to implement this - I would only make sure first if that's something you'd like to see happen.

Note I don't plan to introduce any breaking changes, the output files should still work in all currently supported environments etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions