Skip to content
Permalink
Browse files

Custom MDX working in Misk theme (#286)

* v0.0.36
  • Loading branch information...
adrw committed Sep 6, 2019
1 parent 46a6b8d commit 54c0fb16542d6a9b9f6753beac857bc55707249f
@@ -1,7 +1,7 @@
{
"name": "@westegg/gatsby-theme-core",
"description": "",
"version": "0.0.34",
"version": "0.0.36",
"main": "gatsby-config.js",
"license": "MIT",
"scripts": {
@@ -1,7 +1,7 @@
{
"name": "@westegg/gatsby-theme-digital-garden",
"description": "",
"version": "0.0.34",
"version": "0.0.36",
"main": "gatsby-config.js",
"license": "MIT",
"scripts": {
@@ -15,7 +15,7 @@
},
"dependencies": {
"@emotion/core": "10.0.17",
"@westegg/gatsby-theme-core": "^0.0.34",
"@westegg/gatsby-theme-core": "^0.0.36",
"gatsby": "2.15.9",
"gatsby-theme-digital-garden": "0.2.3",
"gatsby-theme-digital-garden-blog": "0.2.3",
@@ -13,8 +13,8 @@ module.exports = options => {
}
]
},
mdx = false,
mdxLayouts = {},
mdx = true,
mdxLayouts,
notes = 'notes',
notesPath = '/notes',
posts,
@@ -1,7 +1,7 @@
{
"name": "@westegg/gatsby-theme-misk",
"description": "",
"version": "0.0.34",
"version": "0.0.36",
"main": "gatsby-config.js",
"license": "MIT",
"scripts": {
@@ -18,7 +18,7 @@
"@emotion/core": "10.0.17",
"@misk/common": "0.1.17",
"@misk/core": "0.1.17",
"@westegg/gatsby-theme-digital-garden": "^0.0.34",
"@westegg/gatsby-theme-digital-garden": "^0.0.36",
"gatsby": "2.15.9",
"gatsby-theme-digital-garden": "0.2.3"
},
@@ -0,0 +1,31 @@
import React from 'react'
import { Global } from '@emotion/core'
import { css } from 'theme-ui'
import { Layout, Main, Container } from 'theme-ui/layout'
import HeaderContainer from 'gatsby-theme-digital-garden/src/components/header-container'
import { SEO } from 'gatsby-theme-digital-garden/src/components/seo'

export default props => (
<>
<Global
styles={css({
'*': {
boxSizing: 'border-box'
},
body: {
margin: 0,
color: 'text',
bg: 'background',
fontFamily: 'body'
}
})}
/>
<Layout>
<SEO />
<HeaderContainer />
<Main>
<Container>{props.children}</Container>
</Main>
</Layout>
</>
)
@@ -1,4 +1,4 @@
{
"packages": ["@westegg/*"],
"version": "0.0.34"
"version": "0.0.36"
}
@@ -9,7 +9,7 @@
"build": "gatsby build"
},
"dependencies": {
"@westegg/gatsby-theme-digital-garden": "0.0.33",
"@westegg/gatsby-theme-digital-garden": "*",
"gatsby": "2.15.9",
"react": "16.9.0",
"react-dom": "16.9.0"
@@ -3,9 +3,6 @@ module.exports = {
title: 'Westegg Digital Garden'
},
plugins: [
{
resolve: '@westegg/gatsby-theme-core'
},
{
resolve: '@westegg/gatsby-theme-misk',
options: {
@@ -1,3 +1,35 @@
# Welcome to Alpha -> Bravo

Testing a nested child theme!

# Big image Testing

![2.7mb of image!](/img/large-image.jpg)

# Another topic

Lorem ipsum

# This topic

Lorem ipsum

## Example 1

Lorem ipsum

## Example 3

Lorem ipsum

# that topic

```js
console.log('hello world')
```

```kotlin
fun foo() {
return "that thing"
}
```
@@ -0,0 +1,3 @@
# Welcome to Charlie -> Delta

Testing a nested child theme!
@@ -9,7 +9,6 @@
"build": "gatsby build"
},
"dependencies": {
"@westegg/gatsby-theme-core": "*",
"@westegg/gatsby-theme-misk": "*",
"gatsby": "2.15.9",
"react": "16.9.0",

0 comments on commit 54c0fb1

Please sign in to comment.
You can’t perform that action at this time.