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

Duplicate note reference problem #24

Closed
sli1989 opened this issue Nov 1, 2018 · 4 comments
Closed

Duplicate note reference problem #24

sli1989 opened this issue Nov 1, 2018 · 4 comments

Comments

@sli1989
Copy link

sli1989 commented Nov 1, 2018

hello, npm install hexo-renderer-pandoc@0.2.3 --save works last time.

but today failed for

INFO  Start processing
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: pandoc: Duplicate note reference `1' "source" (line 502, column 1)

    at ChildProcess.<anonymous> (/builds/sli1989/sli1989.gitlab.io/node_modules/hexo-renderer-pandoc/index.js:84:20)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:886:16)
    at Socket.<anonymous> (internal/child_process.js:342:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)
ERROR: Job failed: exit code 1

do u know what's going on?


  • I though it's the problem of footnotes' id. but when i deleted all new footnotes which are added in this commit, it still not work.
  • i tested with old next version, it still not work.
@wzpan
Copy link
Member

wzpan commented Nov 2, 2018

Can you provide the markdown file that causes such problem?

@sli1989
Copy link
Author

sli1989 commented Nov 2, 2018

I located this section for the mistake.

但<font color=red> 关于行内代码,确实还存在一点问题</font>。因为kramed只是提高了LaTeX公式渲染的优先级,使类似 ``` 'formula' ```的语法不会被Markdown引擎替换,从而可以正确的被渲染成LaTeX公式。也就是说,对于kramed而言,出现 ``` ` ``` 符以后的两个 ``` $ ``` 符之间的部分才会被kramed认为是行内公式。要解决这个问题需要修改kramed的渲染机制。

any suggestion for the markdown grammar?

@wzpan
Copy link
Member

wzpan commented Nov 2, 2018

Why use three backslash(`) rather than one backslash to render code?

Besides, you can try to use raw plugin in hexo.

This issue is not an issue of hexo-renderer-pandoc.

@sli1989
Copy link
Author

sli1989 commented Nov 2, 2018

yeah, i use three backslash for the misunderstanding backslash and '.
thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants