Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Commit 7799d3d

Browse files
authored
Merge pull request #13 from canyongbs/features/heading-support
Added support for heading 5 and heading 6
2 parents 2a2aa89 + e021328 commit 7799d3d

3 files changed

Lines changed: 60 additions & 48 deletions

File tree

resources/css/plugin.css

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -216,32 +216,44 @@
216216
display: inline-block;
217217
}
218218

219-
h1,
220-
h2,
221-
h3,
222-
h4,
223-
h5,
224-
h6 {
219+
h1, h2, h3, h4, h5, h6 {
220+
@apply my-4;
221+
}
222+
223+
h1, h2 {
225224
font-weight: bold;
226225
}
227226

228227
h1 {
229-
font-size: 1.75rem;
230-
line-height: 1.1;
228+
@apply text-3xl;
231229
}
232230

233231
h2 {
234-
font-size: 1.5rem;
235-
line-height: 1.1;
232+
@apply text-2xl;
236233
}
237234

238235
h3 {
239-
font-size: 1.25rem;
240-
line-height: 1.25;
236+
@apply text-xl;
241237
}
242238

243239
h4 {
244-
font-size: 1.125rem;
240+
@apply text-lg;
241+
}
242+
243+
h5 {
244+
@apply text-base;
245+
}
246+
247+
h6 {
248+
@apply text-sm;
249+
}
250+
251+
h3, h4 {
252+
@apply font-semibold;
253+
}
254+
255+
h5, h6 {
256+
@apply font-medium;
245257
}
246258

247259
.lead {

0 commit comments

Comments
 (0)