JSFiddle - React, Tailwind, and code Playground

by evan

HTML

<textarea id="output"></textarea>

CSS

textarea {
     width: 600px;
  height: 600px;  
}

JavaScript

var corpus =  "<p>\n\t<b>1. Business Description</b></p>\n<p>\n\tVancouverHomes.TV Realty is a residential real estate brokerage with a strong online presence dedicated to helping people buy and sell real estate in and around Vancouver, British Columbia.&nbsp; The Company was incorporated on April 24,2008 with two shareholders, Tom and Kerrie Everitt, and has been a real estate brokerage licensed with the Greater Vancouver Real Estate Board since August 2008.&nbsp; Tom and Kerrie have been operating this successful brokerage out of an office in their residence since the company''s inception and they now wish to move on to the next level by leasing a commercial premises and by hiring additional real estate agents.&nbsp; </p>\n<p>\n\t<b>2. Products and Services</b></p>\n<p>\n\tThe mandate of the company is to help people buy and sell residential real estate in and around the Vancouver area.&nbsp; The brokerage serves to market properties when acting for the sellers in order to obtain the most money possible for their home.&nbsp; As buyer''s agents, they search for the best property at the best price for each individual.&nbsp; Because Vancouver properties are, on average, the most expensive in Canada at [x$ per detached home], a large portion of Vancouverites take a keen interest in real estate prices and trends.&nbsp; </p>\n<p>\n\tThe &quot;.TV&quot; domain name emphasizes the company''s role as purveyor of up-to-date information on the market through the use of online video; much like a running real estate television show.&nbsp; This unique domain name makes the company stand out in the Vancouver market and the name itself drives traffic to the website.</p>\n<p>\n\t<b>3. The Market</b></p>\n<p>\n\tThe real estate market is, literally, one of the most popular topics in town.&nbsp; Vancouverites are mostly a real estate obsessed crowd; owing undoubtedly to the extremely high property prices in the area.&nbsp; Everyone loves to talk about real estate and keeping up...