Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug of markdown interpretation #270

Closed
2 of 5 tasks
johnbao6 opened this issue Jan 8, 2024 · 5 comments
Closed
2 of 5 tasks

bug of markdown interpretation #270

johnbao6 opened this issue Jan 8, 2024 · 5 comments
Labels

Comments

@johnbao6
Copy link

johnbao6 commented Jan 8, 2024

Check List

  • I have already read Docs page & Troubleshooting page.
  • I have already searched existing issues and they are not help to me.
  • I examined error or warning messages and it's difficult to solve.
  • I am using the latest version of Hexo. (run hexo version to check)
  • My Node.js is matched the required version.

Expected behavior

- **\ref{figure}** Hello World

should show:

  • \ref{figure} Hello World

Actual behavior

no interpretation

How to reproduce?

When I try to write a blog, contain above content.

note:
I use theme of stellar:
https://github.com/xaoxuu/hexo-theme-stellar

Is the problem still there under Safe mode?

no

Your Node.js & npm version

v21.5.0
10.2.5

Your Hexo and Plugin version

/home/bao
├── @prettier/plugin-php@0.20.1 extraneous
├── linguist-languages@7.26.1 extraneous
├── map-age-cleaner@0.1.3 extraneous
├── mem@9.0.2 extraneous
├── mimic-fn@4.0.0 extraneous
├── p-defer@1.0.0 extraneous
├── php-parser@3.1.5 extraneous
└── prettier@3.0.3 extraneous

Your package.json

{
  "name": "hexo-site",
  "version": "0.0.0",
  "private": true,
  "scripts": {
    "build": "hexo generate",
    "clean": "hexo clean",
    "deploy": "hexo deploy",
    "server": "hexo server"
  },
  "hexo": {
    "version": "6.3.0"
  },
  "dependencies": {
    "hexo": "^6.3.0",
    "hexo-generator-archive": "^2.0.0",
    "hexo-generator-category": "^2.0.0",
    "hexo-generator-index": "^3.0.0",
    "hexo-generator-tag": "^2.0.0",
    "hexo-renderer-ejs": "^2.0.0",
    "hexo-renderer-marked": "^6.0.0",
    "hexo-renderer-stylus": "^2.1.0",
    "hexo-server": "^3.0.0",
    "hexo-theme-landscape": "^1.0.0",
    "hexo-theme-stellar": "^1.22.1"
  }
}

Your site's _config.yml (Optional)

No response

Others

none

@johnbao6
Copy link
Author

johnbao6 commented Jan 8, 2024

I think I have found the reason.

behind **, cannot be followed by chinese period 。 or chinese quotation mark :

** 后面不能直接输入中文句号或者引号 等。

@uiolee

This comment was marked as outdated.

@D-Sketon
Copy link
Member

D-Sketon commented Jan 9, 2024

use hexo-renderer-marked
image
use hexo-renderer-markdown-it
image

@uiolee
Copy link
Member

uiolee commented Jan 9, 2024

Maybe it's same with #263. we just need to update the marked version to solve it.

@uiolee uiolee transferred this issue from hexojs/hexo Jan 11, 2024
@uiolee uiolee added the bug label Jan 11, 2024
@uiolee uiolee changed the title bug of markdown interpretation? bug of markdown interpretation Jan 11, 2024
@uiolee
Copy link
Member

uiolee commented Jan 14, 2024

Duplicate of #263

@uiolee uiolee marked this as a duplicate of #263 Jan 14, 2024
@uiolee uiolee closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants