@pie-framework/pie-tools

pie-tools

Usage no npm install needed!

<script type="module">
  import pieFrameworkPieTools from 'https://cdn.skypack.dev/@pie-framework/pie-tools';
</script>

README

Pie Tools

  • out of the box custom element
  • lower level api (headless)

Install

yarn

Usage - pie-toolbar

While we are in POC stage - we are just looking at strikethrough and spellcheck (browser native).

They are both enabled by default. We may at some point want to configure this.

<pie-toolbar target="id-of-el"></pie-toolbar>
<div id="id-of-el"></div>

Usage - lower level

Once things have stabilized - we'll probably want to expose the tools via a js api. But we don't need to worry about that yet.. but we'll have to provide an example of how to hook things up etc.

Issues

  • Mathjax - how to strikethrough? Create dedicated font for it? disable partial math selection?

Run

yarn esbuild src/index.ts  --servedir=. --outdir=lib --bundle 

Then go to: http://localhost:8000/dev/

Release

yarn release

release from local machine

yarn build
yarn semantic-release --no-ci

dev

Use custom elements, minimize runtime dependencies.