We are transitioning into our new community and need to pull a few messages from an old system in for a while. That involves quoting from external sources.
Luckily there is a nice [quote] system. We should be able to paste in the text, put a [quote=“name”] at the start of the text, [/quote] at the end and it should indent and label… and collapse! Very cool.
But it doesn’t seem to do that across paragraphs. It works within a normal reply as intended… reply to a post, click the cloud, multiple paragraphs are quoted nicely. But if I create a new topic, paste in several paragraphs and add quote ‘tags’ to front and back it does not render.
Putting quote tags around a single paragraph when externally pasted in does work. So… what am I missing? Is there a trick to making this work?
I see the full, proper quote tag includes post, topic and full attributes. We’re not adding those… but if I do a quote the ‘normal’ way and delete those attributes is still works. Is there a clue there?
Also we are doing multiple quotes in a page… a bad thing?
Is there a way? Or am I hacking the tags and should just stop?
For now we are using the quote tags for the first paragraph, then > for subsequent paragraphs… clumsy. And it looks bad, to wit:
I know the flow isn’t quite normal, but my partner in this venture liked to quote in-stream in our past system so this works for him on these quotes we pull in…
To add a bit more detail to this for future searchers, here’s what my testing showed about the [quote] tags when added manually, as when quoting text from outside Discourse:
If you are quoting a single paragraph, the start and stop tags can be in stream without linefeeds.
If quoting multiple paragraphs they must each be on a separate line from the text.
Start and stop tags must match… if the start tag is in-stream the end tag must also be in-stream.
Conclusion: if you always put the quote and unquote tags on a unique line it will work for single or multiple paragraph quotes.
Alternatively select each block you want to quote and just press the quote which floats beside it. The selected text will be copied into the reply window with correctly formatted tags.
If you want to use multiple quotes you can repeat the process.
No need to copy and paste, each quote will be correctly formatted every time.