Output gemini formatted documents from org-mode
Go to file
Lucien Cartier-Tilet 94dd2f4a8e
fix: remove newlines in link descriptions
Currently, when an orgmode link has a newline in its description, it
is passed to the description of the Gemini link. Example:

```org
[[https://example.com][This is a link with a
newline to example.com]]
```

Which exports to:

```gmi
=> https://example.com This is a link with a
newline to example.com
```

This commit fixes this by replacing newlines with a simple space. The
new output is:

```gmi
=> https://example.com This is a link with a newline to example.com
```

It also fixes a compilation error on Emacs 30 by properly escaping
quotation marks.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-05-11 13:22:33 +02:00
test improve `make lint' 2021-08-17 09:51:28 -07:00
.build.yml cd into repo 2020-11-25 09:23:07 -08:00
.gitignore support for some basic tests 2020-11-25 09:16:45 -08:00
LICENSE license 2020-11-07 20:00:27 -08:00
Makefile make compile the default target 2021-08-18 21:37:39 -07:00
ox-gemini.el fix: remove newlines in link descriptions 2023-05-11 13:22:33 +02:00
README.md formatting 2020-11-07 20:03:09 -08:00

ox-gemini

This adds support for exporting org files in gemini format. Many things in here were taken from the ascii exporter, from which this one derives.

License

This software is licensed under GPLv3.