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.
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.
Per post keyboard shortcuts only work if the post is selected with J / K. When you have a post selected, the R key is already used for reply_to_post. So we need to find a different shortcut for that.
Great idea! It’s especially useful to post internal markdown templates for forum staff members in order to use them in wordpress, or any other markdown-“compatible” system.
How about to add a Copy button the the raw post popup?
AFAIK the only way to do it would be to clone the GitHub repository, modify the code by either hard coding a new icon, or adding a new option, then use the updated code on your site.
You could also request that as a new feature, but there is no guarantee on when it would be done.
Tuttavia, perché avresti bisogno di vedere il titolo di un argomento nel contenuto “raw” di un post?
Clicchi sul pulsante “raw” nella vista dell’argomento, quindi conosci già il titolo dell’argomento, che è sempre visibile in cima allo schermo.
Il titolo di un argomento non è realmente correlato al contenuto di un post. Pertanto, non appartiene veramente a un popup che mostra il contenuto “raw” del post. Inoltre, non contiene alcun contenuto “raw” da visualizzare.
Quindi non sono sicuro di quanto sarebbe utile mostrare queste informazioni.
https://meta.discourse.org/raw/152542 fornisce il raw di un topic, non di un post.
I topic hanno titoli.
E ne ho bisogno perché uso questi raw per eseguire il backup delle versioni markdown del contenuto.