search

Home  >  Q&A  >  body text

javascript - Why can't the code in pre in chrome be highlighted?

RT As shown in the figure, IE EDGE can also highlight, but Chrome cannot. Why is this?

巴扎黑巴扎黑2735 days ago589

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-06-05 11:12:37

    Each browser or compiler compiles markdown grammar rules in some places and handles them differently. It is best for the questioner to check whether there are too many highlighted backticks or omissions. See if a backslash "" is added to the context to prevent the browser from compiling

    reply
    0
  • Cancelreply