Skip to content

A Nextein plugin that applies Chicago Style to Titles (via title)

Notifications You must be signed in to change notification settings

geut/nextein-plugin-title-chicago-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextein-plugin-title-chicago-style

A Nextein plugin that applies Chicago Style to Titles (via title)

Install

npm i @geut/nextein-plugin-title-chicago-style

Usage

Edit your next.config.js file and add it to the plugins list:

// next.config.js
const { withNextein } = require('nextein/config')


module.exports = withNextein({
  nextein: function(config) {
   
    config.plugins.push({
      name: '@geut/nextein-plugin-title-chicago-style',
      options: {
        special: [
          /* List your special words here */
          'GEUT'
        ]
      }
    })

   return config
 },
  // ...
}))

Configuration

The options object can define the following properties:

  • special: {Array}. Default: [] A set of words to be capitalized in a special way.
  • frontMatter: {Array}. Default: ['title']. Fields from front matter that will be processed.
  • maxDepht: {Number}. Default: 6. The maximum depht for heading elements. 6 means h6.

About

A Nextein plugin that applies Chicago Style to Titles (via title)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published