We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf942cd + ead5bf1 commit 864d162Copy full SHA for 864d162
apps/web/components/tailwind/extensions.ts
@@ -148,6 +148,17 @@ const mathematics = Mathematics.configure({
148
149
const characterCount = CharacterCount.configure();
150
151
+const markdownExtension = MarkdownExtension.configure({
152
+ html: true,
153
+ tightLists: true,
154
+ tightListClass: 'tight',
155
+ bulletListMarker: '-',
156
+ linkify: false,
157
+ breaks: false,
158
+ transformPastedText: false,
159
+ transformCopiedText: false,
160
+});
161
+
162
export const defaultExtensions = [
163
starterKit,
164
placeholder,
@@ -164,7 +175,7 @@ export const defaultExtensions = [
175
mathematics,
165
176
characterCount,
166
177
TiptapUnderline,
167
- MarkdownExtension,
178
+ markdownExtension,
168
179
HighlightExtension,
169
180
TextStyle,
170
181
Color,
0 commit comments