Skip to content

Commit

Permalink
minor changes to Bulma and Hilite
Browse files Browse the repository at this point in the history
pass on existing classes in Bulma templates
change CSS on right of code blocks
  • Loading branch information
finanalyst committed Jan 11, 2025
1 parent 9f50fb3 commit ab3a4ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Rakuast::RakuDoc::Render",
"description": "Renders RakuDoc v2 to text, HTML, HTML-Extra, Markdown",
"version": "0.23.5",
"version": "0.23.6",
"authors": [
"Richard Hainsworth"
],
Expand Down
2 changes: 2 additions & 0 deletions docs/Templates.rakudoc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ So the code in the template block can call
:caption<...>, :target<...>, :level(1)
)
=end code

=head2 Calling the escape method

Each output (eg HTML or MarkDown) may have its own escape method. The escape method can be called within
a template as follows:
$tmpl.globals.escape.( $string-to-be-escaped )
Expand Down
4 changes: 2 additions & 2 deletions lib/RakuDoc/Plugin/HTML/Hilite.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ method scss-str {
font-size: xx-small;
font-style: italic;
height: auto;
padding-right: 50px;
padding-right: 0;
}
/* required to match highlights-js css with raku highlighter css */
pre.browser-hl { padding: 7px; }
Expand All @@ -287,7 +287,7 @@ method scss-str {
pre {
display: inline-block;
overflow: scroll;
width: 96%;
width: 100%;
}
.rakudoc-in-code {
padding: 1.25rem 1.5rem;
Expand Down

0 comments on commit ab3a4ad

Please sign in to comment.