Summary | Raw Post Button will add a button to the post menu. When you click the button, you’ll get a modal / popover with the raw (markdown) version of the post. | |
Preview | Preview on Discourse Theme Creator | |
Repository Link | https://github.com/discourse/raw-post-button | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Features
Settings
Name | Description |
---|---|
min trust level | Minimum required trust level for the button to be visible in the post menu |
Translation | Default |
---|---|
button_title | Raw Post |
There’s only one setting and that setting is min_trust_level
This setting allows you to set a minimum trust level the current user needs to have before they can see that button. It defaults to TL0. Anons will never see it.
Credits
The idea for this component was proposed by @EricGT
Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.
Last edited by @JammyDodger 2024-06-13T22:44:35Z
Check document
Perform check on document: