https://github.com/harttle/liquidjs-section-tags
liquidjs plugin for theme sections: section, javascript, schema, stylesheet
https://github.com/harttle/liquidjs-section-tags
liquidjs section theme
Last synced: about 2 months ago
JSON representation
liquidjs plugin for theme sections: section, javascript, schema, stylesheet
- Host: GitHub
- URL: https://github.com/harttle/liquidjs-section-tags
- Owner: harttle
- License: mit
- Created: 2019-07-16T16:06:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T20:20:27.000Z (over 3 years ago)
- Last Synced: 2025-10-20T00:46:45.264Z (6 months ago)
- Topics: liquidjs, section, theme
- Language: TypeScript
- Size: 1.05 MB
- Stars: 13
- Watchers: 0
- Forks: 3
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# liquidjs-section-tags (WIP)
liquidjs plugin for color filters, compatible with [shopify color filters](https://help.shopify.com/en/themes/liquid/filters/theme-sections)
## Usage
```bash
npm i liquidjs-section-tags
```
```javascript
import Liquid from 'liquidjs'
import { liquidSectionTags } from '../src/index.ts'
const liquid = new Liquid({ extname: '.liquid' })
liquid.plugin(liquidSectionTags({
root: resolve(__dirname, './stub/sections')
}))
const html = await liquid.parseAndRender('{{ section "header" }}')
```
## Contribution Guide
Any help will be appreciated.