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

code in blockquote display error #3318

Closed
tarol opened this issue Oct 29, 2018 · 5 comments
Closed

code in blockquote display error #3318

tarol opened this issue Oct 29, 2018 · 5 comments
Labels

Comments

@tarol
Copy link

tarol commented Oct 29, 2018

Environment Info

Node version(node -v):
v10.7.0
Your site _config.yml (Optional):

Your theme _config.yml (Optional):

Hexo and Plugin version(npm ls --depth 0):
+-- hexo@3.8.0
+-- hexo-deployer-git@0.3.1
+-- hexo-generator-archive@0.1.5
+-- hexo-generator-category@0.1.3
+-- hexo-generator-feed@1.2.2
+-- hexo-generator-index@0.2.1
+-- hexo-generator-json-content@3.0.1
+-- hexo-generator-searchdb@1.0.8
+-- hexo-generator-tag@0.2.0
+-- hexo-renderer-ejs@0.3.1
+-- hexo-renderer-marked@0.3.2
+-- hexo-renderer-pug@0.0.5
+-- hexo-renderer-sass@0.3.2
+-- hexo-renderer-stylus@0.3.3
+-- hexo-server@0.3.3
+-- hexo-symbols-count-time@0.4.4
+-- hexo-wordcount@6.0.1
+-- keyword-extractor@0.0.15 extraneous
`-- rimraf@2.6.2

For BUG

my markdown:

> ```js
> class X {
>   #y
>   z() {
>     w()
>     #y() // 会被解析为w()#y
>   }
> }
> ```

output html:
image
There is a sigil > at the start of each line.

For question

For feature request

@curbengh
Copy link
Contributor

curbengh commented Oct 30, 2018

what is the desired output? code highlighting with text quote formatting? like,

class X {
  #y
  z() {
    w()
    #y() // 会被解析为w()#y
  }
}

@tarol
Copy link
Author

tarol commented Oct 30, 2018

@weyusi
image
Like this, without the sigil > in each line.

@curbengh
Copy link
Contributor

curbengh commented Oct 30, 2018

I can confirm this. GitHub and marked.js.org can render it (see my previous comment)

marked-demo.png

maybe related to #2318 #2321

@stale
Copy link

stale bot commented Jan 1, 2019

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 1, 2019
@stale stale bot closed this as completed Jan 18, 2019
@curbengh
Copy link
Contributor

Duplicate of #2969

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

2 participants