Write code as a text to show in mobile app

I am a beginner in framework7. My question is very simple. I just want to know how to write a code of different language whose output is not to be shown but the whole code is shown in the page

By language do you mean internationalisation, eg English, Chinese etc? Or language as in coding language?

By language I mean the coding Language

You can use <code> and <pre> tags to write code blocks which will be rendered as plain text.

If you also want to do formatting similar to code editors (IDE) then you can use libraries such as highlight.js or prism.js