This adds a test to ensure that the interface for preprocessors and renderers does not change unexpectedly, particularly in a semver compatible release. Closes https://github.com/rust-lang/mdBook/issues/1574
18 lines
361 B
TOML
18 lines
361 B
TOML
[book]
|
|
title = "extension_compatibility"
|
|
|
|
[preprocessor.my-preprocessor]
|
|
command = "./my-preprocessor"
|
|
custom-config = true
|
|
optional = true
|
|
[preprocessor.my-preprocessor.custom-table]
|
|
extra = "abc"
|
|
|
|
[output.html]
|
|
|
|
[output.my-renderer]
|
|
command = "./my-renderer"
|
|
custom-config = "renderer settings"
|
|
optional = true
|
|
[output.my-renderer.custom-table]
|
|
extra = "xyz"
|