dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
MoOx on master
DEPRECATED (compare)
const app = () => (
<ThemeProvider theme={theme}>
<React.Fragment>
<Head>
<title>BLOG</title>
</Head>
<CssBase />
<Router
history={browserHistory}
onUpdate={logPageView}
render={applyRouterMiddleware(useScroll())}
>
<Route path='/' component={HomeContainer} />
<Route path='/about' component={AboutContainer} />
<Route path='/blog/*' component={PostContainer} />
{/*<Route path='*' component={PageError} />*/}
</Router>
</React.Fragment>
</ThemeProvider>
)
export default createApp(app)
plugin-transformer-markdown
, the plugin-transformer-json
or a special transformer ? Could I find an exemple somewhere ? I found the "toto" in the docs https://phenomic.io/en/packages/plugin-transform-markdown/docs/
For my site I’ve created a custom component to embed a YouTube video. I am using a components map as shown in react-app-markdown-with-custom-components. I've noticed that adjacent components don’t get rendered. For example:
<video id=“some-id” />
<video id=“some-other-id” />
only the first video gets rendered. Whereas this does work:
<div>
<video id=“some-id” />
</div>
<div>
<video id=“some-other-id” />
</div>
Any tips?
<video ></video><video></video>
? (not self closing tags)?
remark-highlights
is used. I specified the language for each of my code blocks (put javascript
after the 3 markdown backticks to open the block), but I don't get any colors. I also installed language-javascript
package, in case it was needed, but still nothing. Do I miss something ?
babel-plugin-styled-components
plugin-bundler-webpack
with a one-line-change to add babel-plugin-styled-components
to the babel plugins. Then I'd have to create my own phenomic preset which uses my plugin-bundler-webpack
instead of the default one