Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const path = require('path');
const autolinkHeadings = require('remark-autolink-headings');
const refractor = require('refractor');
const prism = require('@mapbox/rehype-prism');
refractor.alias('handlebars', 'hbs');
refractor.alias('shell', 'sh');
module.exports = {
remarkHbsOptions: {
escapeCurliesCode: false
},
remarkPlugins: [
autolinkHeadings,
{
behavior: 'wrap'
}
],
rehypePlugins: [
prism
],
sources: [
{
const path = require('path');
const autolinkHeadings = require('remark-autolink-headings');
const refractor = require('refractor');
const prism = require('@mapbox/rehype-prism');
refractor.alias('handlebars', 'hbs');
refractor.alias('shell', 'sh');
module.exports = {
remarkHbsOptions: {
escapeCurliesCode: false
},
remarkPlugins: [
autolinkHeadings,
{
behavior: 'wrap'
}
],
rehypePlugins: [
prism
],
sources: [