How to do the article review function at the front end

problem description

now it is time to develop a background article review function, which is required to completely restore the article. What is returned at the back end is a piece of html code. The article pulled from the Internet has an inline style, and there are pictures in it. Make sure that the image appears in the location.

the environmental background of the problems and what methods you have tried

I tried to make my own death template, but I rejected it, and I still wanted to jump directly with URL, and I was also rejected

.

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

is there any good way to fully restore the style of the article


there are several ways

    If
  1. returns an h5 address, nest iframe directly
  2. returns a html code snippet that uses innerHTML to render
  3. returns articles in markdown format. You can use third-party markdown rendering libraries. There are many on the Internet. You can search
  4. through technology + markown rendering .

create an iframe. Then render this content in iframe.

Menu