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 => {
27
27
28
28
const element = fn ( React , ...Object . values ( scope ) )
29
29
const components = {
30
- BlueContent : BlueContent ,
31
- h3 : undefined
30
+ BlueContent : BlueContent
32
31
}
33
32
34
33
const elementWithProvider = React . createElement (
Original file line number Diff line number Diff line change @@ -126,8 +126,8 @@ class Page {
126
126
: this . markdown
127
127
128
128
const markdownWithParsedReact = await renderReact ( markdown )
129
- console . log ( markdownWithParsedReact )
130
129
const html = await renderContent ( markdownWithParsedReact , context )
130
+ //const html = await renderContent(markdown, context)
131
131
132
132
// product frontmatter may contain liquid
133
133
if ( this . product ) {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ const dirTree = require('directory-tree')
12
12
const port = Number ( process . env . PORT ) || 4000
13
13
const app = express ( )
14
14
15
-
16
15
// Build React Components
17
16
const transform = code =>
18
17
babel . transform ( code , {
You can’t perform that action at this time.
0 commit comments