Skip to content

Commit 378481e

Browse files
committed
Changed SUCCESS blockquote adoc option to return a block as AsciiDoctor.js currently doesn't support inline extensions on paragraph content
1 parent 155087a commit 378481e

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

client/components/editor/editor-asciidoc.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
v-icon(color='blue') mdi-alpha-n-box-outline
5454
v-list-item-title {{'Note Blockquote'}}
5555
v-divider
56-
v-list-item(@click='insertBeforeEachLine({ content: `SUCCESS: `})')
56+
v-list-item(@click='insertBeforeEachLine({ content: `[SUCCESS]\n`})')
5757
v-list-item-action
5858
v-icon(color='success') mdi-alpha-s-box-outline
5959
v-list-item-title {{'Success Blockquote'}}

client/themes/default/scss/app.scss

+11-6
Original file line numberDiff line numberDiff line change
@@ -445,14 +445,15 @@
445445
}
446446
}
447447
}
448+
448449
&.success {
449-
td.icon {
450-
background-color: mc('green', '300');
451-
color: mc('green', '50');
452-
&::before {
453-
content: "\F0E1E";
454-
}
450+
td.icon {
451+
background-color: mc('green', '300');
452+
color: mc('green', '50');
453+
&::before {
454+
content: "\F0E1E";
455455
}
456+
}
456457
td.content {
457458
color: darken(mc('green', '900'), 10%);
458459
background-color: mc('green', '50');
@@ -463,6 +464,7 @@
463464
}
464465
}
465466
}
467+
466468
&.tip {
467469
td.icon {
468470
background-color: mc('green', '300');
@@ -481,6 +483,7 @@
481483
}
482484
}
483485
}
486+
484487
&.warning {
485488
background-color: transparent !important;
486489

@@ -501,6 +504,7 @@
501504
}
502505
}
503506
}
507+
504508
&.caution {
505509
td.icon {
506510
background-color: mc('purple', '300');
@@ -519,6 +523,7 @@
519523
}
520524
}
521525
}
526+
522527
&.important {
523528
td.icon {
524529
background-color: mc('red', '300');

0 commit comments

Comments
 (0)