0.1.0 • Published 6 months ago

retouche v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

retouche

Please see https://retouche.zugriff.eu for more information.

Usage

Call the Retouche initialisation function within a shared client layout file (e.g. +layout.svelte) if possible.
The editor will only mount if the edit key is in the query string.

// main.ts

import { init } from 'retouche';
import { github } from '@retouche/adapter-github';
// import { gitlab } from '@retouche/adapter-gitlab';

init({
  adapter: github({
    owner: 'example',
    repo: 'retouche',
    commit: {
      message: 'retouche: content update',
      committer: {
        name: 'Unknown',
        email: 'retouche@example.com',
      },
    },
  }),
});
0.1.0

6 months ago

0.0.2

7 months ago

0.0.1

1 year ago