Raw Post Button

:discourse2: 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.
:eyeglasses: Preview Preview on Discourse Theme Creator
:hammer_and_wrench: Repository Link https://github.com/discourse/raw-post-button
:open_book: 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 :+1:


:discourse2: 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 documentPerform check on document:
41 Likes