Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 580 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 580 Bytes

liquidjs-section-tags (WIP)

liquidjs plugin for color filters, compatible with shopify color filters

Usage

npm i liquidjs-section-tags
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.