Skip to content

Badge in the beginning of paragraph stop rendering markdown #2679

Open
@chenxsan

Description

@chenxsan
  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

  1. clone https://github.com/davidkpiano/xstate
  2. git checkout a8ca50b3f676a6d7bdeee0f0dd229251a2daa30a
  3. run yarn to install dependencies
  4. run yarn docs:dev
  5. open http://0.0.0.0:8080/docs/guides/communication.html#configuring-services

What is expected?

image

Code highlighted with red underlines in the screenshot above should be rendered into HTML.

BTW, I've tried to upgrade vuepress to the latest version, and it made no difference. But I can move the Badge to the end or the middle of paragraph to work around the problem.

What is actually happening?

markdown syntax was rendered instead.

Other relevant information

  • Output of npx vuepress info in my VuePress project:
npx vuepress
vuepress v1.7.1

Usage:
  $ vuepress <command> [options]

Commands:
  dev [targetDir]    start development server
  build [targetDir]  build dir as static site
  eject [targetDir]  copy the default theme into .vuepress/theme for customization.
  info               Shows debugging information about the local environment

For more info, run any command with the `--help` flag:
  $ vuepress dev --help
  $ vuepress build --help
  $ vuepress eject --help
  $ vuepress info --help

Options:
  -v, --version  Display version number 
  -h, --help     Display this message

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