如何制作“扰流板” github维基页面中的文本? [英] How to make "spoiler" text in github wiki pages?
问题描述
我正在尝试制作一些文字,这些文字要么被隐藏,要么被隐藏起来,或者有一个显示/隐藏按钮或其他某种东西,所以在用户以某种方式与它进行交互之前它是不可见的。
我试图在github wiki页面上执行此操作。 (具体来说,这是一个简短的自测)。
基本上我想得到与>!所达到的效果类似的效果!<! / code>标记:
Hoho!假冒文本!
详见这些 我看到此问题关于在关于github的 comments 中使用扰流文本,但我认为wiki页面可能有不同的答案,或者基于HTML或其他方法的不同解决方案? 有人知道是否有办法做到这一点,或者如果它肯定不幸是不可能的? GitHub Flavored Markdown的文档
I'm trying to make text which is either invisible until moused over, or, has a "show" / "hide" button, or some other thing, so that it is not visible until the user interacts with it in some way.
I'm trying to do this on a github wiki page. (Specifically it's for a short self-quiz.)
Basically I want to get a similar effect to what SO achieves with the >!
markup:
Hoho! Spoiler text!
as described in these meta posts.
The same markup doesn't work in github, I guess that it's an SO extension?
I saw this issue about using spoiler text in comments on github, which was closed, but I thought there might be a different answer for the wiki pages, or a different solution based on HTML or something?
Does anyone know if there's a way to do this, or if it is definitely unfortunately impossible?
The documentation for GitHub Flavored Markdown makes no mention of spoilers, so I suspect it's not supported. It's definitely not part of the original Markdown spec.
这篇关于如何制作“扰流板” github维基页面中的文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!