@x-govuk/govuk-eleventy-plugin

6.7.0 • Public • Published

GOV.UK Eleventy Plugin • test

Build documentation websites using Markdown and GOV.UK styles.

You’re welcome to use the plugin even if your service isn’t considered part of GOV.UK, but your site or service must not:

  • identify itself as being part of GOV.UK
  • use the crown or GOV.UK logotype in the header
  • use the GDS Transport typeface
  • suggest that it’s an official UK government website if it’s not

Requirements

Installation

npm install @x-govuk/govuk-eleventy-plugin

Usage

const govukEleventyPlugin = require('@x-govuk/govuk-eleventy-plugin')

eleventyConfig.addPlugin(govukEleventyPlugin, {
  // Options
})

Learn more about how to get started and which options you can provide.

Releasing a new version

npm run release

This command will ask you what version you want to use. It will then publish a new version on NPM, create and push a new git tag and then generate release notes ready for posting on GitHub.

[!NOTE] Releasing a new version requires permission to publish packages to the @x-govuk organisation.

Package Sidebar

Install

npm i @x-govuk/govuk-eleventy-plugin

Weekly Downloads

368

Version

6.7.0

License

MIT

Unpacked Size

77 kB

Total Files

74

Last publish

Collaborators

  • nataliecarey
  • paulrobertlloyd
  • frankieroberto
  • fofr