diff --git a/app/views/challenges/show.html.erb b/app/views/challenges/show.html.erb index dc2c5f5d2..232f74ef8 100644 --- a/app/views/challenges/show.html.erb +++ b/app/views/challenges/show.html.erb @@ -1,3 +1,6 @@ +<%= javascript_include_tag "/assets/codemirror/codemirror_python_ruby_c" %> +<%= stylesheet_link_tag "/assets/codemirror/codemirror" %> +
@@ -82,9 +85,8 @@
  • -
    - <%= @challenge.answer.blank? ? "无" : (h @challenge.answer.html_safe) %> -
    +
    +
    <%= @challenge.answer.blank? ? "无" : (h @challenge.answer.html_safe) %>
  • @@ -97,5 +99,17 @@