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
At first I'd like to give a big shout-out to this awesome project which was the driver for all my presentations I gave the last years! ❤️
And now to something completely different: I tend to have smaller code blocks on my slides which I want to be sub-items of a top-level enumeration. Like for example on this slide:
# Panic Handler* Panic
* Handler which escalates with a processor exception
```rust {all|1|3|4-6|all}
usecore::panic::PanicInfo;
#[panic_handler]
fnpanic(_:&PanicInfo) ->! {
cortex_m::asm::udf();
}
```
*Whichwillresultinanalreadyexistingfaulthandlertobecalled
However the highlighting animation does not happen when running the presentation. It does when I remove the indentation from this code block like:
# Panic Handler
* Panic
* Handler which escalates with a processor exception
```rust {all|1|3|4-6|all}
use core::panic::PanicInfo;
#[panic_handler]
fn panic(_: &PanicInfo) -> ! {
cortex_m::asm::udf();
}
```
* Which will result in an already existing fault handler to be called
What can I do to get the animation for the indented code block as well?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
At first I'd like to give a big shout-out to this awesome project which was the driver for all my presentations I gave the last years! ❤️
And now to something completely different: I tend to have smaller code blocks on my slides which I want to be sub-items of a top-level enumeration. Like for example on this slide:
However the highlighting animation does not happen when running the presentation. It does when I remove the indentation from this code block like:
# Panic Handler * Panic * Handler which escalates with a processor exception ```rust {all|1|3|4-6|all} use core::panic::PanicInfo; #[panic_handler] fn panic(_: &PanicInfo) -> ! { cortex_m::asm::udf(); } ``` * Which will result in an already existing fault handler to be calledWhat can I do to get the animation for the indented code block as well?
Beta Was this translation helpful? Give feedback.
All reactions