Git Product home page Git Product logo

Comments (7)

Enter-tainer avatar Enter-tainer commented on July 20, 2024

This bug might be introduced from #59.

from shiki.

Enter-tainer avatar Enter-tainer commented on July 20, 2024

See lodash/escape. Instead of escaping these charactors in several passes(which is buggy), we should escape all these charactors at the same time.

from shiki.

yzhang-gh avatar yzhang-gh commented on July 20, 2024

Do we only escape HTML code snippets? I am using the vuepress plugin and found <> not escaped, for example

conda create -n <env_name>

without specifying any language id, produces a result (visually) like this

conda create -n 

from shiki.

octref avatar octref commented on July 20, 2024

We escape HTML output.

from shiki.

yzhang-gh avatar yzhang-gh commented on July 20, 2024

Then am I missing any configuration?

GitHub https://github.com/yzhang-gh/notes/blob/vuepress/docs/programming/python/miniconda.md#managing-environments
image

Vuepress https://yzhang-gh.github.io/notes/programming/python/miniconda.html#managing-environments
image

image

I can confirm Shiki works as expected elsewhere.

from shiki.

octref avatar octref commented on July 20, 2024

Please provide a reproducible case with reproducing steps.

from shiki.

yzhang-gh avatar yzhang-gh commented on July 20, 2024

Here you go (#93).

from shiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.