mirror of
https://github.com/caddyserver/website.git
synced 2025-04-27 23:46:16 -04:00
Use markdown syntax highlighting on frontpage
This commit is contained in:
parent
5e93103dce
commit
babfa3a7c0
11 changed files with 371 additions and 211 deletions
26
new/includes/examples/custom-ca.md
Normal file
26
new/includes/examples/custom-ca.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
<script>
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
window.$('.ex-custom-ca pre.chroma').classList.add('light');
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="ex-custom-ca">
|
||||
|
||||
```caddy
|
||||
{
|
||||
pki {
|
||||
ca corporate {
|
||||
name "Our Corporation Authority"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal.example.com {
|
||||
# ACME endpoint: /acme/corporate/directory
|
||||
acme_server {
|
||||
ca corporate
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue