Added additional pymdownx.snippets options to JSON schema (#5878)

This commit is contained in:
nofoxsteven 2023-08-21 18:09:27 +02:00 committed by GitHub
parent a6a37ab9d0
commit ce19ed3b46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -544,6 +544,21 @@
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/snippets/#options", "markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/snippets/#options",
"type": "boolean", "type": "boolean",
"default": false "default": false
},
"url_max_size": {
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/snippets/#options",
"type": "integer",
"default": 33554432
},
"url_timeout": {
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/snippets/#options",
"type": "number",
"default": 10.0
},
"url_request_headers": {
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/snippets/#options",
"type": "object",
"default": {}
} }
}, },
"additionalProperties": false "additionalProperties": false