mirror of
https://github.com/caddyserver/website.git
synced 2025-04-26 15:06:17 -04:00
Rebase and fix code displays
This commit is contained in:
parent
14e9b01bf4
commit
7cba863d53
11 changed files with 41 additions and 117 deletions
|
@ -1,9 +1,3 @@
|
|||
<script>
|
||||
ready(() => {
|
||||
window.$_('.ex-custom-ca pre.chroma').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="ex-custom-ca">
|
||||
|
||||
```caddy
|
||||
|
@ -24,3 +18,7 @@ internal.example.com {
|
|||
```
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.$_('.ex-custom-ca code').classList.add('light');
|
||||
</script>
|
|
@ -25,7 +25,7 @@ ready(() => {
|
|||
endElement = findNextText(startElement, 'browse');
|
||||
wrapRangeWithSpan(startElement, endElement, 'rollover-browse rollover-purple');
|
||||
|
||||
window.$_('.ex-fs pre.chroma').classList.add('light');
|
||||
window.$_('.ex-fs code').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
<script>
|
||||
ready(() => {
|
||||
window.$_('.ex-json-automate-certs pre.chroma').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="ex-json-automate-certs">
|
||||
|
||||
```json
|
||||
|
@ -23,3 +17,6 @@ ready(() => {
|
|||
```
|
||||
|
||||
</div>
|
||||
<script>
|
||||
window.$_('.ex-json-automate-certs code').classList.add('light');
|
||||
</script>
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
<script>
|
||||
ready(() => {
|
||||
window.$_('.ex-local-https pre.chroma').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="ex-local-https">
|
||||
|
||||
```caddy
|
||||
|
@ -21,3 +15,7 @@ http://localhost {
|
|||
```
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.$_('.ex-local-https code').classList.add('light');
|
||||
</script>
|
|
@ -13,6 +13,8 @@ ready(() => {
|
|||
startElement = findWithContent('.ex-proxy pre.chroma code span.line', 'reverse_proxy /service/* {');
|
||||
endElement = findNextText(startElement, '}');
|
||||
wrapRangeWithSpan(startElement, endElement, 'rollover-ha rollover-blue');
|
||||
|
||||
window.$_('.ex-proxy code').classList.add('dark');
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
<script>
|
||||
ready(() => {
|
||||
window.$_('.ex-website-caddyfile pre.chroma').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="ex-website-caddyfile">
|
||||
|
||||
```caddy
|
||||
|
@ -23,3 +17,7 @@ reverse_proxy /api/* localhost:9002
|
|||
```
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.$_('.ex-website-caddyfile code').classList.add('light');
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue