Skip to content

Docs do not reflect renamed function in shiki #259

@aeskildsen

Description

@aeskildsen

The docs include an example of using a custom highlighter which begins with this code:

import { getHighlighter } from "shiki"

This fails because shiki v3 renamed the function to createHighlighter.

I'd be happy to update the docs in a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions