@retouche/adapter-gitlab
v0.0.1
Published
Adapter to publish changes to GitLab
Downloads
2
Readme
@retouche/adapter-gitlab
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 { gitlab } from '@retouche/adapter-gitlab';
init({
adapter: gitlab({
project: 1,
commit: {
message: 'retouche: content update',
},
}),
});