import type { InlinePlugin } from "../types.ts"; const REGEXP = /`([^`]+)`/g; const plugin: InlinePlugin = { type: "code", render: (text: string) => { text = text.replace(REGEXP, (...match) => `${match[1]}`); return text; }, }; export default plugin;