Skip to content

Commit

Permalink
Merge pull request #429 from JuliaDataCubes/la/ligatures
Browse files Browse the repository at this point in the history
no ligatures
  • Loading branch information
lazarusA authored Aug 31, 2024
2 parents 1b4130b + 76c5e1d commit 3991711
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ ParallelUtilities = "0.8"
ProgressMeter = "1"
Reexport = "1"
Requires = "1"
Statistics = "1"
StatsBase = "0.32, 0.33, 0.34"
Tables = "0.2, 1.0"
WeightedOnlineStats = "0.3, 0.4, 0.5, 0.6"
YAXArrayBase = "0.6"
YAXArrayBase = "0.6,0.7"
julia = "1.9"
31 changes: 16 additions & 15 deletions docs/src/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,25 @@ https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/var

/* Code Snippet font */
--vp-font-family-mono: JuliaMono-Regular, monospace;

}

/*
Disable contextual alternates (kind of like ligatures but different) in monospace,
which turns `/>` to an up arrow and `|>` (the Julia pipe symbol) to an up arrow as well.
This is pretty bad for Julia folks reading even though copy+paste retains the same text.
*/
/* Target elements with class 'mono' */
.mono {
/*
Disable contextual alternates (kind of like ligatures but different) in monospace,
which turns `/>` to an up arrow and `|>` (the Julia pipe symbol) to an up arrow as well.
This is pretty bad for Julia folks reading even though copy+paste retains the same text.
*/
font-feature-settings: 'calt' 0;
pre {
font-family: JuliaMono-Light;
};
code {
font-family: JuliaMono-Light;
};
/* Disable contextual alternates */
font-feature-settings: "calt" 0;
}
/* Apply monospace font to pre elements within .mono */
.mono pre {
font-family: "JuliaMono-Light", monospace;
}
/* Apply monospace font to code elements within .mono */
.mono code {
font-family: "JuliaMono-Light", monospace;
}


/**
* Colors
Expand Down

0 comments on commit 3991711

Please sign in to comment.