alhassy / alhassy/org-special-block-extras

special blocks end lists

Offen
#8 10 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @alhassy Auf GitHub ansehen
bug help wanted
Vorherrschende Sprache
HTML
Sterne
236
Forks
17
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

It seems that the blocks created by this package cause lists to stop when exporting, as well as generally leaving empty lines after the content in the exported file. Would it be possible to have the blocks remain inside the list?

An example:
``` org
1. builtin block
#+begin_src latex
\uline{does not end lists}
#+end_src
2. org-special-blocks
#+begin_proposition
does not end lists
#+end_proposition
3. org-special-block-extras builtin block
#+begin_stutter 5
this ends lists
#+end_stutter
4. org-special-block-extras custom defblock
#+begin_thm
this ends lists
#+end_thm
```
becomes
```latex
\begin{enumerate}
\item builtin block
\begin{verbatim}
\uline{does not end lists}
\end{verbatim}
\item org-special-blocks
\begin{proposition}
does not end lists
\end{proposition}
\item org-special-block-extras builtin block
\end{enumerate}

this ends lists

this ends lists

this ends lists

this ends lists

this ends lists

\begin{enumerate}
\item org-special-block-extras custom defblock
\end{enumerate}
\begin{theorem}
this ends lists

\end{theorem}
```
and similarly in HTML.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.