JSFiddle - React, Tailwind, and code Playground
HTML
<a class="bml" href="javascript:(function(){ function htmlEscape(s){s=s.replace(/&/g,'&amp;');s=s.replace(/>/g,'&gt;');s=s.replace(/</g,'&lt;');return s;} x=window.open(); x.document.write('<pre>' + htmlEscape('<html>\n' + document.documentElement.innerHTML + '\n</html>')); x.document.close(); })();">View Generated Source</a>
<br>
<b>Drag the above link to your Bookmarks Bar, and then click it on the website you want to view the source code of.</b><br><br>
<i> By <a href="https://rahul.tech/">rahuldottech</a></i>