Copy As Markdown - Table

What I did:

Create a markdown table in Agenda, Copy As Markdown to use in another markdown file.

What happened:

Markdown isn’t table format:

◉ Table Example

| Milestone | Name | Hrs |

| M1 | Ideation | 40 |

What I expected:

Markdown table format

Milestone Name Hrs
M1 Ideation 40

Things that might be helpful to know (Agenda version, OS and model, etc):
macOS, Version 22.2.1 (389) - Mac App Store

Am I missing a step?

1 Like

I am not official but curious where you were pasting it? I noticed some apps have a specific paste as markdown menu item and others don’t recognize it properly unless you paste as plain text.

Hi Lori. I haven’t seen it work on the following:

Apple Notes

Drafts

VS Code (Markdown Extensions)

I can try other targets?

I like using Agenda for operational work (ties in with calendar perfectly) and then copy to status or docs.

1 Like

I think the issue is that many apps require that there be a header row at the top, with the horizontal separator. Agenda generally doesn’t use them (they were introduced very recently).

I will fix the code to ensure there is always a header row in any exported markdown.

Update: Have updated for next release to fix this.

One of the issues with tables in markdown is that they aren’t part of the markdown spec. They were added in a separate multi-markdown spec, which is not the original.

The fact that tables are required to have a header row seems silly to me, but we now have it. Your first row will become a header row in the markdown.

If you want to fix the markdown before our new release arrives, you can paste something like this…

| --- | --- | --- |

just after the first row, and matching the number of columns.

Thanks for reporting it!

2 Likes

I have a similar workflow and have noticed pasting in markdown seems to always be an adventure. I am glad it was addressed officially by the devs.