/liquidjs-section-tags

liquidjs plugin for theme sections: section, javascript, schema, stylesheet

Primary LanguageTypeScriptMIT LicenseMIT

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.