3

Reposting this question from gitter.

Suggestions were made to modify simply the innerHTML attribute but I thinkt this is quite unconvenient.

zy4
  • 31
  • 1

1 Answers1

3

Reposting this answer from gitter.

<div innerHTML={renderToString(latex)}></div>
Yang Bo
  • 3,586
  • 3
  • 22
  • 35
  • I paste the original posts here, hoping it will help other people who face to the same problem. – Yang Bo Mar 07 '18 at 15:58