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

ankisettings: add {tags-brief} marker #226

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

SpaghettiBorgar
Copy link
Contributor

I was looking for a more compact version of tags, like they appear in the popup window, so I added {tags-brief}, which does the same as {tags} but doesn't include the tag descriptions. I was thinking about making it a one-line string instead, but keeping it as a list allows styling it either way using CSS. This way it also allows styling it as bubbles the same way it is in the popup.

Copy link
Owner

@ripose-jp ripose-jp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feature works well and is useful. Fix up my nitpicks and I'll merge it.

src/anki/ankiclient.cpp Outdated Show resolved Hide resolved
src/anki/ankiclient.cpp Outdated Show resolved Hide resolved
src/anki/ankiclient.cpp Outdated Show resolved Hide resolved
src/anki/ankiclient.cpp Outdated Show resolved Hide resolved
src/anki/ankiclient.cpp Outdated Show resolved Hide resolved
src/anki/ankiclient.h Outdated Show resolved Hide resolved
added {tags-brief} marker that keeps the list of tags brief, without
their description.
@SpaghettiBorgar
Copy link
Contributor Author

All fixed.

@ripose-jp ripose-jp merged commit 5e14b89 into ripose-jp:master Jun 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants