Signed-off-by: Anirudh Oppiliappan anirudh@tangled.org
appview/pages/funcmap.go
appview/pages/funcmap.go
This file has not been changed.
appview/pages/markup/markdown.go
appview/pages/markup/markdown.go
This file has not been changed.
appview/pages/markup/sanitizer.go
appview/pages/markup/sanitizer.go
This file has not been changed.
appview/pages/pages.go
appview/pages/pages.go
This file has not been changed.
go.mod
go.mod
This file has not been changed.
go.sum
go.sum
This file has not been changed.
+10
-10
input.css
+10
-10
input.css
···
198
198
}
199
199
200
200
/* Note (blue) */
201
-
details[data-callout="note"] {
201
+
details[data-callout="note" i] {
202
202
@apply border-blue-400 dark:border-blue-500;
203
203
}
204
-
details[data-callout="note"] > summary {
204
+
details[data-callout="note" i] > summary {
205
205
@apply text-blue-700 dark:text-blue-400;
206
206
}
207
207
208
208
/* Important (purple) */
209
-
details[data-callout="important"] {
209
+
details[data-callout="important" i] {
210
210
@apply border-purple-400 dark:border-purple-500;
211
211
}
212
-
details[data-callout="important"] > summary {
212
+
details[data-callout="important" i] > summary {
213
213
@apply text-purple-700 dark:text-purple-400;
214
214
}
215
215
216
216
/* Warning (yellow) */
217
-
details[data-callout="warning"] {
217
+
details[data-callout="warning" i] {
218
218
@apply border-yellow-400 dark:border-yellow-500;
219
219
}
220
-
details[data-callout="warning"] > summary {
220
+
details[data-callout="warning" i] > summary {
221
221
@apply text-yellow-700 dark:text-yellow-400;
222
222
}
223
223
224
224
/* Caution (red) */
225
-
details[data-callout="caution"] {
225
+
details[data-callout="caution" i] {
226
226
@apply border-red-400 dark:border-red-500;
227
227
}
228
-
details[data-callout="caution"] > summary {
228
+
details[data-callout="caution" i] > summary {
229
229
@apply text-red-700 dark:text-red-400;
230
230
}
231
231
232
232
/* Tip (green) */
233
-
details[data-callout="tip"] {
233
+
details[data-callout="tip" i] {
234
234
@apply border-green-400 dark:border-green-500;
235
235
}
236
-
details[data-callout="tip"] > summary {
236
+
details[data-callout="tip" i] > summary {
237
237
@apply text-green-700 dark:text-green-400;
238
238
}
239
239
History
2 rounds
0 comments
anirudh.fi
submitted
#1
1 commit
expand
collapse
appview/pages/markup: add support for callouts
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
expand 0 comments
pull request successfully merged
anirudh.fi
submitted
#0
1 commit
expand
collapse
appview/pages/markup: add support for callouts
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>