Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for footnotes #77

Closed
Hoffenbar opened this issue Apr 2, 2021 · 4 comments
Closed

Support for footnotes #77

Hoffenbar opened this issue Apr 2, 2021 · 4 comments

Comments

@Hoffenbar
Copy link

Hoffenbar commented Apr 2, 2021

Hello, I'Ve notice that this source code:

### Fußnoten

[^1]: In einer früheren Version wurde automatisch eine konfigurierbare Pausenzeit abgezogen von der Arbeitszeit, doch es stellte
sich heraus, daß dies aufgrund der vielen möglichen Varianten am Ende komplizierter oder fehlerträchtiger war als eine manuelle Pausenerfassung! 

is rendered to this:

<a name="Fußnoten"></a>
--
  | <h3>Fußnoten<a href="#document-top" title="Go to top"></a></h3>
  |  
  | <p>sich heraus, daß dies aufgrund der vielen möglichen Varianten am Ende komplizierter oder fehlerträchtiger war als eine manuelle Pausenerfassung!</p>
  | </div>
  | <div id="footer">
  | <p> April 2, 2021</p>
  | <p><span>Powered by</span> <a href="https://h3rald.com/hastyscribe"><span class="hastyscribe"></span></a></p>
  | </div>
  | </div>

The begining of the text is lost, it seems..... I thougt it was a linebreak after the first sentence, but after I removed that, nothing appears at all.... It seems that the whole paragraph gets eaten, maybe I'm missing some rules where to (not) put empty lines or so....

If I put the [^1]: on a line by itself, the text is fully rendered, but the number of the footnote gets lost.....

oops - meanwhile I figured out that hastyscribe does not support the footnote syntax at all.....

@h3rald
Copy link
Owner

h3rald commented Apr 2, 2021

Uhm... actually, although undocumented it seems, footnotes should work!

They seem to be supported in discount, the markdown parser HastyScribe is built upon, but to be honest I couldn't figure out from the official page whether they work properly on not: there seem to be contradicting statements on whether multiple paragraphs are supported or not, for example.

Did you try with simpler, one-line footnotes? No luck? I will experiment a bit.

@Hoffenbar
Copy link
Author

I've tried several variants, yet none of them succeeded.

@h3rald
Copy link
Owner

h3rald commented Jul 3, 2021

Yep no, I tried a few things and they don't seem to work work 😞.

@h3rald h3rald changed the title Footnote truncated Support for footnotes Jul 3, 2021
@h3rald
Copy link
Owner

h3rald commented Aug 31, 2023

Implemented in v2.0.0!

@h3rald h3rald closed this as completed Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants