gatsby-remark-autolink-headers
Advanced tools
Comparing version 1.0.0-alpha16-alpha.d918ccdc to 1.0.0-alpha17
@@ -9,3 +9,5 @@ "use strict"; | ||
exports.createHeadComponents = function (args, pluginOptions) { | ||
exports.onRenderBody = function (_ref, pluginOptions) { | ||
var setHeadComponents = _ref.setHeadComponents; | ||
var offsetY = 0; | ||
@@ -56,7 +58,7 @@ if (pluginOptions.offsetY) { | ||
return [_react2.default.createElement( | ||
return setHeadComponents([_react2.default.createElement( | ||
"style", | ||
{ type: "text/css" }, | ||
styles | ||
), _react2.default.createElement("script", { dangerouslySetInnerHTML: { __html: script } })]; | ||
), _react2.default.createElement("script", { dangerouslySetInnerHTML: { __html: script } })]); | ||
}; |
{ | ||
"name": "gatsby-remark-autolink-headers", | ||
"description": "Gatsby plugin to autolink headers in markdown processed by Remark", | ||
"version": "1.0.0-alpha16-alpha.d918ccdc", | ||
"version": "1.0.0-alpha17", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
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
5509
123