diff options
| author | Ian Mah <[email protected]> | 2020-05-28 18:09:28 -0700 |
|---|---|---|
| committer | Ian Mah <[email protected]> | 2020-05-28 18:09:28 -0700 |
| commit | be21c0db5b869d5626ba8f9f32757aa593fb7f01 (patch) | |
| tree | cc05167ea2dd2bb4d77a6769c74a50e9c095d5b8 /frontend/src/components/PasteInfo.js | |
| parent | Add markdown preview (diff) | |
| download | ctrl-v-be21c0db5b869d5626ba8f9f32757aa593fb7f01.tar.xz ctrl-v-be21c0db5b869d5626ba8f9f32757aa593fb7f01.zip | |
Add markdown to view paste
Diffstat (limited to 'frontend/src/components/PasteInfo.js')
| -rw-r--r-- | frontend/src/components/PasteInfo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/PasteInfo.js b/frontend/src/components/PasteInfo.js index 76d8859..8669b20 100644 --- a/frontend/src/components/PasteInfo.js +++ b/frontend/src/components/PasteInfo.js @@ -39,7 +39,7 @@ const PasteInfo = (props) => { const renderable = () => { const buttonTxt = props.isRenderMode ? 'text' : 'render' - if (props.lang === 'latex') { + if (props.lang === 'latex' || props.lang === 'markdown') { return ( <Button className="lt-shadow lt-hover" |