Forums

Posting code in comments

Hi everyone, I've completed this tutorial (https://blog.pythonanywhere.com/158/) on PythonAnywhere, and it's fantastic. However, one of my questions is that "can I submit html code in the comments section with proper formatings?" The form is made-up from HTML and Jinja. I need like the following:

<html>
    <body>
        <div>
            <form>
            </form>
        </div> 
     </body>
</html>

Appeared to be:

<html> <body> <div> <form> </form> </div> </body> </html>

There are numerous results from website searches, but none of them are applicable to my issue. It includes

<pre> 
</pre>

People are talking about in the most popular thread: https://stackoverflow.com/questions/2820453/display-html-snippets-in-html

To me, any useful guidance is a piece of knowledge.

We are happy to help with our services, but for general python/jinja/html questions you need to ask on more general forums.