Skip to content

Use chalk-pipe for more styles #56

@LitoMore

Description

@LitoMore

Currently, we are using chalk to customize the color scheme:

marked.setOptions({
  renderer: new TerminalRenderer({
    codespan: chalk.underline.magenta,
  })
});

With chalk-pipe, we can customize colors like this:

marked.setOptions({
  renderer: new TerminalRenderer({
    codespan: 'underline.#ff99cc'
  })
});

It also good for user to store their color schemes with string.

I'm glad to help with this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions