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

Add Support for Spoiler #98

Open
Docfips opened this issue Sep 29, 2024 · 3 comments
Open

Add Support for Spoiler #98

Docfips opened this issue Sep 29, 2024 · 3 comments
Labels
tangent-electron Issues relating to the Tangent Application itself. User Request Features & Enhancements requested by users.

Comments

@Docfips
Copy link

Docfips commented Sep 29, 2024

Requesting the markdown for a spoiler box. This is best used in terms of studying, homework, etc when you're studying and don't want to see the answer right away.

Discord uses the syntax: ||<text>||

Supernotes uses: !!<text>!!

@taylorhadden
Copy link
Contributor

Seems like there's no formatting consensus here. Reddit uses: >!spoiler!<. I wonder how many other options there are…

Aesthetically, I prefer Supernote's take. Do you have a preference one way or another?

Another option for hiding information would be to create some kind of formatting that invokes the details tag. That's somewhat more complicated, but it isn't mutually exclusive with the spoiler tag.

@taylorhadden taylorhadden added tangent-electron Issues relating to the Tangent Application itself. User Request Features & Enhancements requested by users. labels Sep 30, 2024
@k8ieone
Copy link
Contributor

k8ieone commented Nov 12, 2024

I personally like Discord's variant but I'm probably biased because Discord introduced me to spoilers.

Also the pipes kinda look like curtains, which makes sense for hiding text 😄

@k8ieone
Copy link
Contributor

k8ieone commented Nov 12, 2024

element-hq/element-meta#869 (comment) could be useful.

||reason|spoiler|| seems like an interesting option as well, but I don't see many use cases for this in a note-taking application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tangent-electron Issues relating to the Tangent Application itself. User Request Features & Enhancements requested by users.
Projects
Status: No status
Development

No branches or pull requests

3 participants