mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 18:01:50 +02:00
adding mo fixes
This commit is contained in:
@ -78,6 +78,11 @@ pre .co, .co {
|
||||
color: #999999 !important;
|
||||
font-style: italic !important;
|
||||
}
|
||||
pre code .r-out,
|
||||
pre code .r-msg {
|
||||
/* output of functions */
|
||||
color: #555555 !important;
|
||||
}
|
||||
code a[href],
|
||||
a[href] code,
|
||||
pre a[href],
|
||||
|
@ -33,15 +33,14 @@ $(document).ready(function() {
|
||||
|
||||
// Replace 'Developers' with 'Maintainers' on the main page, and "Contributors" on the Authors page
|
||||
$(".developers h2").text("Maintainers");
|
||||
$(".citation h2:first").text("All contributors");
|
||||
$(".citation h2:second").text("How to Cite");
|
||||
$(".citation h2:nth(0)").text("All contributors");
|
||||
$(".citation h2:nth(1)").text("How to Cite");
|
||||
|
||||
// remove \donttest and \dontrun texts in Examples
|
||||
if ($("#ref-examples ~ div pre").length > 0) {
|
||||
const regex1 = /# \\dont(test|run)\{(\n|<br>)*/ig;
|
||||
const regex2 = /(\n|<br>)*# \}/ig;
|
||||
$("#ref-examples ~ div pre").html($("#ref-examples ~ div pre").html().replaceAll(regex1, ""));
|
||||
$("#ref-examples ~ div pre").html($("#ref-examples ~ div pre").html().replaceAll(regex2, ""));
|
||||
$("#ref-examples ~ div pre").html($("#ref-examples ~ div pre").html().replaceAll("# \\donttest{", ""));
|
||||
$("#ref-examples ~ div pre").html($("#ref-examples ~ div pre").html().replaceAll("# \\dontrun{", ""));
|
||||
$("#ref-examples ~ div pre").html($("#ref-examples ~ div pre").html().replaceAll("# }", ""));
|
||||
}
|
||||
|
||||
// remove leading newline in code examples on changelog
|
||||
|
Reference in New Issue
Block a user