-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Relates to issue #3 Improve link pretty printing.
The markdown works with three kinds of links [pandoc docs](https://pandoc.org/MANUAL.html#links-1):
* automatic links just turn an url into clickable link <https://pandoc.org/MANUAL.html#automatic-links>
* [inline links](https://pandoc.org/MANUAL.html#inline-links) are written as part of text body
* [reference links][1]
[1]: https://pandoc.org/MANUAL.html#reference-links "Reference links title is shown on hover"
The markdown works with three kinds of links pandoc docs:
- automatic links just turn an url into clickable link https://pandoc.org/MANUAL.html#automatic-links
- inline links are written as part of text body
- reference links
Patat uses ANSI terminal, so it must render the links verbatim. Yet many terminal emulators support OSC-8
I propose to make link rendering more configurable.
Automatic links can stay as is.
Inline and Reference links should be rendered inline using terminal hyperlink.
Reference links should be rendered in slide footer (current behavior) or in extra slide at the and of the presentation.
Or the rendering could be more configurable.
Perhaps some kind of patat config should control the behavior:
patat:
links:
inline: <footer|osc8|extraslide>
reference: <footer|osc8|extraslide>
Metadata
Metadata
Assignees
Labels
No labels