diff options
| author | Thomas Hodgson <hello@twshodgson.net> | 2023-02-12 22:32:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-12 13:32:40 -0800 |
| commit | 351a8e6c7ce6ccd20eb62bd43f7f5cc9048c65d8 (patch) | |
| tree | 9d6f6aa61c7a647eac514c542b6780eb46361cdb /data/templates | |
| parent | 20d957a3255efb03b78352c4c31850e690bb58c0 (diff) | |
URL style in ConTeXt (#8612)
Previously, a URL like this would be in monospace text: `\useURL[url1][https://example.com]`.
Now, it will match the main text unless the `linkstyle` variable is set, which controls the styling of all links.
Closes #8602.
Added documentation for `urlstyle` variable in the ConTeXt template, and added detail to its
documentation in the LaTeX template.
Diffstat (limited to 'data/templates')
| -rw-r--r-- | data/templates/default.context | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/default.context b/data/templates/default.context index b0c90b4a5..da66d599e 100644 --- a/data/templates/default.context +++ b/data/templates/default.context @@ -23,6 +23,7 @@ $endif$ style=$linkstyle$, color=$linkcolor$, contrastcolor=$linkcontrastcolor$] +\setupurl[style=$urlstyle$] % make chapter, section bookmarks visible when opening document \placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section] |
