https://github.com/zachleat/pommel-source
A details/summary plugin to expand and show source code.
https://github.com/zachleat/pommel-source
Last synced: over 1 year ago
JSON representation
A details/summary plugin to expand and show source code.
- Host: GitHub
- URL: https://github.com/zachleat/pommel-source
- Owner: zachleat
- Created: 2020-08-30T03:55:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T04:14:25.000Z (almost 6 years ago)
- Last Synced: 2025-01-23T00:41:14.405Z (over 1 year ago)
- Language: CSS
- Homepage: https://pommel-source.netlify.app/
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pommel-source
A CSS file to better style a zero-dependency details/summary plugin to expand and show source code.
## Installation
Available on [npm](https://www.npmjs.com/package/pommel-source).
```
npm install pommel-source
```
## Usage
```html
Embed
* { box-sizing: border-box; }
```
### Works with @11ty/eleventy-plugin-syntaxhighlight
```html
Embed
{%- highlight css %}
* { box-sizing: border-box; }
{%- endhighlight %}
```