Skip to content

Commit

Permalink
Update review.lua
Browse files Browse the repository at this point in the history
Co-authored-by: atusy <[email protected]>
  • Loading branch information
kmuto and atusy authored Dec 31, 2020
1 parent f76a1a6 commit f4e6b8d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions review.lua
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,8 @@ function RawBlock(format, text)

if (format == "tex") then
return "//embed[latex]{\n" .. text .. "\n//}"
elseif (format == "html") then
return "//embed[html]{\n" .. text .. "\n//}"
else
return "//embed{\n" .. text .. "\n//}"
return "//embed[" .. format .. "]{\n" .. text .. "\n//}"
end
end

Expand Down

0 comments on commit f4e6b8d

Please sign in to comment.