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

Markdown export #218

Open
Deuchnord opened this issue Dec 1, 2021 · 0 comments
Open

Markdown export #218

Deuchnord opened this issue Dec 1, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers nice to have
Milestone

Comments

@Deuchnord
Copy link
Member

Deuchnord commented Dec 1, 2021

Is your feature request related to a problem? Please describe.
The text export format is a good way to quickly export information, but may be difficult to read due to the lack of formatting.

Describe the solution you'd like
Markdown is a light markup language that gained in popularity, providing a way to quickly format a content in a Web context and still being readable in a simple text editor.
For instance, the following return of Kosmorro:

Saturday December 04, 2021

Object     Rise time    Culmination time    Set time
--------  -----------  ------------------  ----------
Sun          08:31           12:38           16:45
Moon         08:45           12:44           16:43
Mercury      08:53           12:50           16:47
Venus        11:38           15:32           19:27
Mars         06:50           11:19           15:49
Jupiter      12:52           17:47           22:42
Saturn       12:13           16:41           21:09
Uranus       15:09           22:29           05:54
Neptune      13:39           19:19           01:04
Pluto        11:40           15:43           19:46

Moon phase: New Moon
First Quarter on Saturday December 11, 2021 at 02:35

Expected events:
10:57  Moon is at its perigee
13:43  Moon occults Mercury

Note: All the hours are given in the UTC+1 timezone.

would look like this in Markdown:

# Saturday December 04, 2021

| Object       | Rise time | Culmination time | Set time
| ------------ |  -------- | ---------------- | --------
| **Sun**      | 08:31     | 12:38            | 16:45
| **Moon**     | 08:45     | 12:44            | 16:43
| **Mercury**  | 08:53     | 12:50            | 16:47
| **Venus**    | 11:38     | 15:32            | 19:27
| **Mars**     | 06:50     | 11:19            | 15:49
| **Jupiter**  | 12:52     | 17:47            | 22:42
| **Saturn**   | 12:13     | 16:41            | 21:09
| **Uranus**   | 15:09     | 22:29            | 05:54
| **Neptune**  | 13:39     | 19:19            | 01:04
| **Pluto**    | 11:40     | 15:43            | 19:46

**Moon phase:** New Moon  
First Quarter on Saturday December 11, 2021 at 02:35

## Expected events

- **10:57:** Moon is at its perigee
- **13:43:** Moon occults Mercury

*Note: All the hours are given in the UTC+1 timezone.*

The formatting result, e.g. on GitHub, would look like this:

Result

Saturday December 04, 2021

Object Rise time Culmination time Set time
Sun 08:31 12:38 16:45
Moon 08:45 12:44 16:43
Mercury 08:53 12:50 16:47
Venus 11:38 15:32 19:27
Mars 06:50 11:19 15:49
Jupiter 12:52 17:47 22:42
Saturn 12:13 16:41 21:09
Uranus 15:09 22:29 05:54
Neptune 13:39 19:19 01:04
Pluto 11:40 15:43 19:46

Moon phase: New Moon
First Quarter on Saturday December 11, 2021 at 02:35

Expected events

  • 10:57: Moon is at its perigee
  • 13:43: Moon occults Mercury

Note: All the hours are given in the UTC+1 timezone.

@Deuchnord Deuchnord added enhancement New feature or request good first issue Good for newcomers nice to have labels Dec 1, 2021
@Deuchnord Deuchnord added this to the v1.1 milestone Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers nice to have
Projects
None yet
Development

No branches or pull requests

1 participant