Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

noxify/gridsome-remark-classes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gridsome-remark-classes

Gridsome Remark plugin to add css classes to any element

Inspired by chrisg86/gatsby-remark-classes

Installation

npm install --save @noxify/gridsome-remark-classes 

Usage

module.exports = { plugins: [ { use: '@gridsome/source-filesystem', options: { typeName: 'Blog', path: './content/blog/**/*.md', } } ], transformers : { remark : { plugins : [ ['@noxify/gridsome-remark-classes', { 'heading[depth=1]': 'title', 'heading[depth=2]': 'subtitle', 'paragraph': 'text-normal font-serif' }] ] } } }

Documentation

You can find the complete documentation here: https://webstone.info/documentation/gridsome-remark-classes

About

Gridsome Remark plugin to add css classes to any element

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published