Is it possible to add an composer button to att this
|==========>
Rating:
Count:
First:
Last:
Comment:
<==========|
! test
I don't think I understand how this is supposed to work. To me, spoiler text means text that is hidden without action taken. If that's what this plugin is supposed to do, could I please be told the correct way to do it?
@glitch said:
! test
I don't think I understand how this is supposed to work. To me, spoiler text means text that is hidden without action taken. If that's what this plugin is supposed to do, could I please be told the correct way to do it?
Plugin isn't installed here.
...
I suppose that would help, thanks. On my own installation, however, I get the same results. I know the plugin is installed because I see the little crossed out eye in the markdown editor. It renders just like my test example here, though.
Seems like the plugin is broken on NodeBB 0.6.0
As stated here by @Ted
https://github.com/psychobunny/nodebb-plugin-spoilers/issues/3
Seems @psychobunny needs to start merging commits instead of sitting on Reddit/r/procrastination.
haha derp. You know its bad when I get three PR's doing roughly the same thing. Anyways merged and published, thanks guys
@psychobunny I should have a plugin conflict because it doensn't seems to be solved on my board (plugin updated)
i build this plugin with my version
*its not same or copy your plugin i just see how it work for notbb v.0.6
thanks for inspiration
i build with function toggle down and up
Does the plugin still work in a recent nodebb installation?
If yes, do multiline spoilers generally work?
I am getting exclamation marks at the start of a line after an empty line has been used in the spoiler text. It seems that the parsing somehow won't work correctly.
teat! sorry
@phl if I understood what you were saying, that's typically how markdown works; a blank line will stop rendering the text in the same block.
> here's a quote
With a new line
After a broken line
Will produce:
here's a quote
With a new line
After a broken line
Your new line will need a spoiler tag too to be included.
I think.
Well that's of course what I tried. Every possible combination of spoiler tags I could imagine (At the start of text blocks, in every line, in a new line, ...)
While
> citation
more citation
>
> even more citation
renders as expected,
>! Spoiler
more Spoiler
>!
>! even more Spoiler
produces visible exclamation marks in the output at lines three and four.
Is this unavailable for newer NodeBB versions?
@AOKP Yup, ended up going with it. The change in syntax is irritating though.