feelpp / antora-ui

https://feelpp.github.io/antora-ui/
Mozilla Public License 2.0
0 stars 2 forks source link

Graphic improvement on AsciiDoc blocks "sidebar", "example", "admonition", "collapsible". #14

Closed prudhomm closed 1 year ago

ggrossetie commented 1 year ago
ggrossetie commented 1 year ago

We could create a custom admonitions such as: [PROBLEM], [THEOREM], [PROOF] or a single admonition with roles: [MATH.theorem].

Alternatively, we could stick with sidebar blocks and use a role:

actual

[[prob:2]]
.Formulation faible pour des conditions de Dirichlet homogènes
****
On cherche stem:[u \in H^1_0(\Omega)] telle que
[stem]
++++
\label{eq:65}
    \int_\Omega \nabla u \cdot \nabla v =  \int_\Omega f\, v,\quad \forall v \in H^1_0(\Omega)
++++
****

proposal

.Formulation faible pour des conditions de Dirichlet homogènes
[.formula#prob:2]
****
On cherche stem:[u \in H^1_0(\Omega)] telle que
[stem]
++++
\label{eq:65}
    \int_\Omega \nabla u \cdot \nabla v =  \int_\Omega f\, v,\quad \forall v \in H^1_0(\Omega)
++++
****
ggrossetie commented 1 year ago

Can we split this issue for each use case :