Last active
May 24, 2019 13:46
-
-
Save tesuji/f5513a5d9a122d1cbf846f2f097fad7f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Testing TOML syntax highlighting</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/default.min.css"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js"></script> | |
<script>hljs.initHighlightingOnLoad();</script> | |
<link href="prism.css" rel="stylesheet" /> | |
<script src="prism.js"></script> | |
</head> | |
<body> | |
<pre> | |
<code class="toml"> | |
[http] | |
proxy = "host:port" # HTTP proxy to use for HTTP requests (defaults to none) | |
# in libcurl format, e.g., "socks5h://host:port" | |
timeout = 30 # Timeout for each HTTP request, in seconds | |
cainfo = "cert.pem" # Path to Certificate Authority (CA) bundle (optional) | |
check-revoke = true # Indicates whether SSL certs are checked for revocation | |
low-speed-limit = 5 # Lower threshold for bytes/sec (10 = default, 0 = disabled) | |
multiplexing = true # whether or not to use HTTP/2 multiplexing where possible | |
</code> | |
</pre> | |
<pre> | |
<code class="language-toml"> | |
[http] | |
proxy = "host:port" # HTTP proxy to use for HTTP requests (defaults to none) | |
# in libcurl format, e.g., "socks5h://host:port" | |
timeout = 30 # Timeout for each HTTP request, in seconds | |
cainfo = "cert.pem" # Path to Certificate Authority (CA) bundle (optional) | |
check-revoke = true # Indicates whether SSL certs are checked for revocation | |
low-speed-limit = 5 # Lower threshold for bytes/sec (10 = default, 0 = disabled) | |
multiplexing = true # whether or not to use HTTP/2 multiplexing where possible | |
</code> | |
</pre> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment