1
Fork 0

Hide links to paper on riddle page

This commit is contained in:
prescientmoon 2025-03-21 13:54:15 +01:00
parent d790170e3a
commit d12bacafa5
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 12 additions and 0 deletions

View file

@ -11,6 +11,7 @@ This is a paper I, together with three of my collegues wrote for the mandatory t
# Computing CMB temperature fluctuations for spherical spaces
:::: comment
## Links
::: embed-description
@ -18,6 +19,7 @@ This is a paper I, together with three of my collegues wrote for the mandatory t
- Paper: [source](https://git.moonythm.dev/ddd/bachelor-prep-paper), [pdf](https://git.moonythm.dev/ddd/bachelor-prep-paper/raw/branch/master/main.pdf)
- Presentation: [source](https://git.moonythm.dev/ddd/bachelor-prep-presentation), [pdf](https://git.moonythm.dev/ddd/bachelor-prep-presentation/raw/branch/master/main.pdf)
::::
## Solve my riddle!

View file

@ -116,6 +116,11 @@ impl<'s> Writer<'s> {
self.states.pop();
return Ok(());
}
// Nest ignores for nested containers
Event::Start(Container::Div { .. }, _) => {
self.states.push(State::Ignore);
return Ok(());
}
_ => return Ok(()),
}
}
@ -412,6 +417,11 @@ impl<'s> Writer<'s> {
self.states.push(State::Ignore);
}
// }}}
// {{{ Block comments
Container::Div { class: "comment" } => {
self.states.push(State::Ignore);
}
// }}}
// {{{ Embed description
Container::Div {
class: "embed-description",