34 lines
735 B
HTML
34 lines
735 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Ribbit Integration Test Page</title>
|
|
<link rel="stylesheet" href="/static/themes/ribbit-default/theme.css">
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<article id="ribbit">
|
|
|
|
| Type | To Get |
|
|
|------|--------|
|
|
| `*emphasis*` | *emphasis* |
|
|
| `**bold**` | **bold** |
|
|
| `abel](/link/address)` | [link label](/link/address) |
|
|
| ``inline`` | `inline` |
|
|
|
|
</article>
|
|
</main>
|
|
|
|
<script src="/static/ribbit.js"></script>
|
|
<script>
|
|
const editor = new ribbit.Editor({
|
|
on: {
|
|
ready: () => { window.__ribbitReady = true; },
|
|
},
|
|
});
|
|
editor.run();
|
|
window.__ribbitEditor = editor;
|
|
</script>
|
|
</body>
|
|
</html>
|