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

Copy as table does not maintain indent #22

Open
bagaag opened this issue Jul 12, 2023 · 0 comments
Open

Copy as table does not maintain indent #22

bagaag opened this issue Jul 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@bagaag
Copy link
Contributor

bagaag commented Jul 12, 2023

When timers are nested, they are indented in the main display. When copied as a table, sub-entries are not indented.

Since Markdown tables don't support indenting in table cells, non-breaking space HTML entities could be used, or a character like a dash could be used. I tried both and think dashes better communicate the indent level.

I would be happy to implement this as a PR.

@Ellpeck Ellpeck added the enhancement New feature or request label Jul 16, 2023
Karamellwuerfel added a commit to Karamellwuerfel/ObsidianSimpleTimeTracker that referenced this issue Nov 17, 2024
…r sub-entries

Enhanced the `createTableSection` function to include dynamic prefixing based on the indentation level, ensuring the hierarchical structure of sub-entries is preserved. Each sub-entry level now includes an additional `-` prefix, improving readability in both "Copy as Table" and "Copy as CSV" exports.

This feature resolves issue Ellpeck#22.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants