@paperist/remark-crossref
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -18,6 +18,8 @@ "use strict"; | ||
const matchStr = matches[1]; | ||
const label = matches[2]; | ||
const content = matches[2]; | ||
const [label, optionStr] = content.split(/\s+/); | ||
return eat(matchStr)({ | ||
label, | ||
options: qs.parse(optionStr, ',', '='), | ||
type: 'crossReferenceLabel', | ||
label, | ||
value: matchStr, | ||
@@ -55,7 +57,5 @@ }); | ||
const matchStr = matches[1]; | ||
const content = matches[2]; | ||
const [identifier, optionStr] = content.split(/\s+/); | ||
const identifier = matches[2]; | ||
return eat(matchStr)({ | ||
identifier, | ||
options: qs.parse(optionStr, ',', '='), | ||
type: 'crossReference', | ||
@@ -62,0 +62,0 @@ value: matchStr, |
{ | ||
"name": "@paperist/remark-crossref", | ||
"description": "wooorm/remark plugin for corss-references inspired by pandoc-crossref", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"dependencies": {}, | ||
@@ -6,0 +6,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package