-
Notifications
You must be signed in to change notification settings - Fork 52
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
Start supporting code #74
Conversation
|
||
const makeExtra = { | ||
blockquote: node => {}, | ||
code: node => {language: node.lang, lines: node.hightlighted || ''} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: Unexpected token :
@@ -51,6 +58,38 @@ function visitor (node, index, parent) { | |||
node.data = figure.data | |||
} | |||
|
|||
function externLegendVisitor (node, index, parent) { | |||
if (index + 1 < parent.children.length && parent.children[index + 1].type === 'paragraph' ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no spaces inside this paren space-in-parens
@@ -51,6 +58,38 @@ function visitor (node, index, parent) { | |||
node.data = figure.data | |||
} | |||
|
|||
function externLegendVisitor (node, index, parent) { | |||
if (index + 1 < parent.children.length && parent.children[index + 1].type === 'paragraph' ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no spaces inside this paren space-in-parens
b615d1c
to
cb173f4
Compare
As a matter of fact this aims to implement #66 but I think #67 should be nearly done. I just miss unittest for tables/gridtables.