-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues With Setting Up Johackim Theme #2
Comments
Hello @Cloufish, thanks for your issue. Can you provide your You can go to this example if you want inspiration : https://github.com/johackim/gatsby-remark-obsidian/tree/master/examples/remark |
I'm so confused, so sorry ;_;. I've also tried using this theme from scratch, using your instructions (mostly! 😄 ):
|
Update - Wait, so is this a plugin or a theme? I managed to start one of the examples you provided, but it seems like the main purpose of this is to support aliases! I went with the original plan - Adding the Plugin to the existing gatsby-digital-garden. What I've done is:
module.exports = {
pathPrefix: `/knowledge-base`,
plugins: [
{
resolve: `gatsby-theme-garden`,
options: {
contentPath: `${__dirname}/content/garden`,
rootNote: `/HELLO-WORLD`,
},
resolve: "gatsby-transformer-remark",
options: {
plugins: [
{
resolve: 'gatsby-remark-obsidian',
options: {
titleToURL: (title) => `/${title}`, // optional
markdownFolder: `${__dirname}/content`, // optional
highlightClassName: 'highlight', // optional
},
},
]
},
}
],
siteMetadata: {
title: `Cloufish's Knowledge Base`,
},
}
"dependencies": {
"gatsby": "latest",
Don't know how to proceed from there. Pls I ask for help, over! |
Try config for mdx plugin not gatsby-transformer-remark. {
resolve: "gatsby-plugin-mdx",
options: {
extensions: [".md", ".mdx"],
gatsbyRemarkPlugins: [
{
resolve: "gatsby-remark-obsidian",
options: {
titleToURL: (title) => `/${title}`,
}
},
],
},
}, Note that using this creates normal |
Why is that the case? :/ If there's any more information I can provide tell me
The text was updated successfully, but these errors were encountered: