Skip to content

Commit

Permalink
Ready to release
Browse files Browse the repository at this point in the history
  • Loading branch information
binnyva committed Nov 21, 2021
2 parents 89ae6ba + 1554e84 commit b370bdf
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 19 deletions.
19 changes: 13 additions & 6 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,21 @@ module.exports = {
extensions: [`.mdx`, `.md`],
gatsbyRemarkPlugins: [
'gatsby-remark-mermaid',
// {
// resolve: `gatsby-remark-double-brackets-link`,
// options: {
// titleToURLPath: `${__dirname}/src/utils/make-slug.js`,
// stripBrackets: true,
// parseWikiLinks: true,
// },
// },
{
resolve: `gatsby-remark-double-brackets-link`,
resolve: `gatsby-remark-wiki-links`,
options: {
titleToURLPath: `${__dirname}/src/utils/make-slug.js`,
stripBrackets: true,
parseWikiLinks: true,
},
},
slugify: `${__dirname}/src/utils/make-slug.js`,
stripBrackets: true
}
}
],
},
},
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gatsby-garden",
"version": "1.0.1",
"version": "2.0.1",
"description": "Gatsby Garden lets you create a static html version of your markdown notes. You can convert your Obsidian Zettelkasten Notes into a public Digital Garden.",
"homepage": "https://github.com/binnyva/gatsby-garden",
"keywords": [
Expand Down Expand Up @@ -28,21 +28,21 @@
"@mdx-js/react": "^1.6.22",
"bootstrap": "^4.6.0",
"d3": "^5.5.0",
"gatsby": "^3.11.0",
"gatsby": "^4.2.0",
"gatsby-awesome-pagination": "^0.3.6",
"gatsby-plugin-dark-mode": "^1.1.2",
"gatsby-plugin-feed-mdx": "^1.1.0",
"gatsby-plugin-google-fonts": "^1.0.1",
"gatsby-plugin-local-search": "^2.0.1",
"gatsby-plugin-mdx": "^2.12.0",
"gatsby-plugin-mdx": "^3.2.0",
"gatsby-plugin-postcss": "^4.11.0",
"gatsby-plugin-react-helmet": "^4.12.0",
"gatsby-plugin-remove-trailing-slashes": "^3.11.0",
"gatsby-plugin-remove-trailing-slashes": "^4.2.0",
"gatsby-plugin-styled-components": "^4.12.0",
"gatsby-remark-double-brackets-link": "^0.1.11",
"gatsby-remark-mermaid": "^2.1.0",
"gatsby-source-filesystem": "^3.11.0",
"gatsby-transformer-remark": "^4.8.0",
"gatsby-source-filesystem": "^4.2.0",
"gatsby-transformer-remark": "^5.2.0",
"gray-matter": "^4.0.2",
"jquery": "^3.6.0",
"popper.js": "^1.16.1",
Expand Down
8 changes: 7 additions & 1 deletion plugins/gatsby-remark-wiki-links/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
We are NOT using this right now. gatsby-remark-double-brackets-link added the `parseWikiLinks` option that we build this to support. If you need to reenable this plugin, add...
If you need to reenable this plugin, add...
```
gatsbyRemarkPlugins: [
Expand All @@ -12,6 +12,12 @@ gatsbyRemarkPlugins: [
},
```
in the `gatsby-config.js` file
Want to add more features? Get these things(<https://www.gatsbyjs.com/plugins/gatsby-remark-obsidian/>)...
- [] [[Internal link#heading]]
- [] [[Internal link#heading|With custom text]]
- [] ![[Embed note]]
- [] ![[Embed note#heading]]
*/

var __importDefault =
Expand Down
8 changes: 2 additions & 6 deletions src/templates/note.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,8 @@ export default function Note({ pageContext, data }) {
<div className="related-wrapper">
<div className="related-group">
<p>
<strong className="note-meta-title">
Published on:{' '}
</strong>{' '}
{moment(new Date(post.fields.date)).format(
'do MMMM, YYYY'
)}
<strong className="note-meta-title">Published on: </strong>{' '}
{moment(new Date(post.fields.date)).format('Do MMMM, YYYY')}
</p>
{post.frontmatter.source ? (
<Source src={post.frontmatter.source} />
Expand Down

0 comments on commit b370bdf

Please # to comment.