Making it impossible to write html in the text field

I want to make it impossible to write html for what I write in the text or textarea field.
It’s like a ‘pre’ tag.
Because I want to use characters like ‘<> . -’ without html tag.

How do I do it in blueprint or frontend?

blueprint

fields:
    booksdetails:
        type: textarea

frontend

<?= $page->booksdetails()->kt() ?>

Hm, you probably mean you want to escape those characters in markdown? You can use a backslash escape.

https://daringfireball.net/projects/markdown/syntax#backslash