educoder/app/views/games/_acquire_answer.html.erb

16 lines
631 B
Plaintext

<div class="fit -scroll">
<div class="-layout-v -fit">
<div class="-flex -scroll task-padding16 panel-box-sizing new_li" id="game_answer_show">
<textarea style="display:none;" id="editorMd_contents"><%= @answer %></textarea>
</div>
</div>
</div>
<script>
answer_md = editormd.markdownToHTML("game_answer_show", {
htmlDecode : "style,script,iframe", // you can filter tags decode
taskList : true,
tex : false, // 数学公式
flowChart : true, // 默认不解析
sequenceDiagram : true // 默认不解析
});
</script>