Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter out empty lines after hidden lines in Rust codeblocks #4

Open
zjp-CN opened this issue Feb 24, 2024 · 0 comments
Open

Filter out empty lines after hidden lines in Rust codeblocks #4

zjp-CN opened this issue Feb 24, 2024 · 0 comments
Labels
Enhancement New feature or request UI-Markdown

Comments

@zjp-CN
Copy link
Owner

zjp-CN commented Feb 24, 2024

Current in term-rustdoc

Same as the HTML on https://docs.rs/actix/0.13.0/actix/sync/struct.SyncContext.html

/// ```
/// use actix::prelude::*;
///
/// # struct Fibonacci(pub u32);
///
/// # impl Message for Fibonacci {
/// #     type Result = Result<u64, ()>;
/// # }
///
/// struct SyncActor;
///
/// impl Actor for SyncActor {
///     // It's important to note that you use "SyncContext" here instead of "Context".
///     type Context = SyncContext<Self>;
/// }
///
/// # fn main() {
/// # }
/// ```
@zjp-CN zjp-CN added Enhancement New feature or request UI-Markdown labels Feb 24, 2024
@zjp-CN zjp-CN changed the title Filter out empty lines after hidden lines in Rust Filter out empty lines after hidden lines in Rust codeblocks Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request UI-Markdown
Projects
None yet
Development

No branches or pull requests

1 participant