Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 117x 117x 117x | import { DateTime } from 'luxon';
import { Plugin } from '../../model/plugin';
import { Mod } from '../../model/tag';
export const seamlessPlugin: Plugin = {
tag: 'plugin/seamless',
name: $localize`🪡 Seamless`,
config: {
version: 1,
type: 'plugin',
default: true,
add: true,
generated: $localize`Generated by jasper-ui ${DateTime.now().toISO()}`,
description: $localize`Remove the white border from the comment markdown.`,
aiInstructions: `# plugin/seamless
Remove the white border around the embedded markdown comment. This can be particularly
useful when embedding a Ref in markdown like . Otherwise, theme depending
when markdown viewers are expanded or embedded in other markdown the thin white border will be present.`,
icons: [{ label: $localize`🪡` }],
// language=CSS
css: `
.plugin_seamless > .expand {
border: none !important;
}
`,
},
};
export const seamlessMod: Mod = {
plugin: [
seamlessPlugin,
]
};
|