File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,7 @@ const renderReact = async mdxCode => {
2727
2828 const element = fn ( React , ...Object . values ( scope ) )
2929 const components = {
30- BlueContent : BlueContent ,
31- h3 : undefined
30+ BlueContent : BlueContent
3231 }
3332
3433 const elementWithProvider = React . createElement (
Original file line number Diff line number Diff line change @@ -126,8 +126,8 @@ class Page {
126126 : this . markdown
127127
128128 const markdownWithParsedReact = await renderReact ( markdown )
129- console . log ( markdownWithParsedReact )
130129 const html = await renderContent ( markdownWithParsedReact , context )
130+ //const html = await renderContent(markdown, context)
131131
132132 // product frontmatter may contain liquid
133133 if ( this . product ) {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ const dirTree = require('directory-tree')
1212const port = Number ( process . env . PORT ) || 4000
1313const app = express ( )
1414
15-
1615// Build React Components
1716const transform = code =>
1817 babel . transform ( code , {
You can’t perform that action at this time.
0 commit comments