search

Home  >  Q&A  >  body text

javascript - How to display chemical symbols (such as benzene ring) in a web page?

Application scenario: In teaching, it is necessary to display and edit chemical expressions, such as benzene rings and chemical bonds in chemical organic matter

  1. If you have any ideas, you can come and share your ideas. Welcome to ask questions;

  2. Now most of the formulas are rendered based on mathml, etc., but the editing and display of chemical organic molecular formulas are still blank;

  3. If this problem can be solved, formula display and editing will be more perfect in various disciplines;

習慣沉默習慣沉默2755 days ago864

reply all(4)I'll reply

  • 为情所困

    为情所困2017-05-19 10:30:45

    Answer briefly, svg may be what you want.

    reply
    0
  • 某草草

    某草草2017-05-19 10:30:45

    If it’s simple, you can make it
    iconfont
    Go and search it, you should have what you want
    For something more complicated, you can use canvas to make a wheel, 2333

    reply
    0
  • 黄舟

    黄舟2017-05-19 10:30:45

    Give the poster a URL, z-render can draw a benzene ring through its API

    reply
    0
  • 迷茫

    迷茫2017-05-19 10:30:45

    canvas you deserve

    reply
    0
  • Cancelreply