Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@jbolda/gatsby-theme-articles
Advanced tools
Gatsby theme to construct pages for each of your articles.
@jbolda/gatsby-theme-articles
Install from npm or yarn:
npm install @jbolda/gatsby-theme-articles
or
yarn add @jbolda/gatsby-theme-articles
We also rely on peer dependencies of the following packages. Consult the package installation guides for each to potentially additional peer depedencies that require installation.
yarn add @jbolda/gatsby-theme-layout@^0.0.7 gatsby-plugin-mdx@^1.0.49 gatsby-plugin-sharp@^2.2.31 gatsby-plugin-theme-ui@^0.2.46 gatsby-source-filesystem@^2.1.0 gatsby-transformer-sharp@^2.2.20 theme-ui@^0.2.46
This plugin expects markdown files in a folder defined by a gatsby-source-filesystem
config entry with a name
entry of articles. The name can be configured with the contentPath
option.
module.exports = {
plugins: [
{
resolve: `@jbolda/gatsby-theme-articles`,
options: { contentPath: "articles" }
},
]
}
The following are design tokens that are applied by variants through this theme. You may use them to apply styles to elements as a stopgap before needing to shadow a component.
{
jboldaGatsbyTheme: {
articles: {
list: {
container: { /* add tokens here */ },
each: { /* add tokens here */ },
heading: { /* add tokens here */ },
text: { /* add tokens here */ },
link: { /* add tokens here */ }
},
article: {
container: { /* add tokens here */ },
content: { /* add tokens here */ },
footer: { /* add tokens here */ },
featuredImage: { /* add tokens here */ },
heading: { /* add tokens here */ },
text: { /* add tokens here */ },
link: { /* add tokens here */ },
components: { /*
add components here as shown in mdx docs,
we pass this to the provider */
}
}
}
}
}
FAQs
Gatsby theme to construct pages for each of your articles.
The npm package @jbolda/gatsby-theme-articles receives a total of 3 weekly downloads. As such, @jbolda/gatsby-theme-articles popularity was classified as not popular.
We found that @jbolda/gatsby-theme-articles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.