You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to construct our documentation for multi-language libraries Rust -> C FFI -> Java, C#, etc using
mdbook. One issue that is kind of a deal-breaker for us is that when including snippets from source files, leading white-space is preserved:
Ideally, leading white-space could normalized such that the level of indentation is dropped such that the line in the snippet containing the least white-space now contains no white-space:
We would like to construct our documentation for multi-language libraries Rust -> C FFI -> Java, C#, etc using
mdbook. One issue that is kind of a deal-breaker for us is that when including snippets from source files, leading white-space is preserved:
Ideally, leading white-space could normalized such that the level of indentation is dropped such that the line in the snippet containing the least white-space now contains no white-space:
I would think that only pretty trivial examples have code snippets with no leading white-space and that if we do a PR it would be valuable to others.
Looking at the codebase, it seems we would be working in links preprocessor, correct?
Questions:
The text was updated successfully, but these errors were encountered: