aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/PasteInfo.js
diff options
context:
space:
mode:
authorJacky Zhao <[email protected]>2020-05-28 19:07:21 -0700
committerGitHub <[email protected]>2020-05-28 19:07:21 -0700
commit4b1df09664793d70857b489119915be70f531da0 (patch)
tree7eebdd82b4a58c5c0d96455e257757da1e1c73da /frontend/src/components/PasteInfo.js
parentMerge pull request #42 from jackyzha0/analytics (diff)
parenty helper function when no helper function do (diff)
downloadctrl-v-4b1df09664793d70857b489119915be70f531da0.tar.xz
ctrl-v-4b1df09664793d70857b489119915be70f531da0.zip
Merge pull request #43 from jackyzha0/markdown
Markdown
Diffstat (limited to 'frontend/src/components/PasteInfo.js')
-rw-r--r--frontend/src/components/PasteInfo.js2
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"