[Python] How to create <p> automatically when adding paragraph text without creating it one by...

Discussão em 'Python' iniciado por Stack, Julho 9, 2025.

  1. Stack

    Stack Membro Participativo

    I'm a newbie and I just starting created a code for my personal website about novel. I'm having a bit of trouble transferring the results of my novel into Visual Studio Code. I pasted it, the entire paragraph, but it can't automatically create <p> for each sentence. I've searched several websites on Google, even asked for AI help, but it's still limited, some parts are even omitted by AI. Can anyone help, please?

    I want to make all the text code of my novel which was originally like this,

    <p>This text is just an example I created for the question I asked. There's no need to focus on this sentence. I've already asked the question, so there's no need to read it all the way through. Bruh. Did you read it all the way through?<p>


    Into this,

    <p>This text is just an example I created for the my question.<p>
    <p>There's no need to focus on this sentence.<p>
    <p>I've already asked the question, so there's no need to read it all the way through<p>
    <p>Bruh.<p>


    I can't retype the entire text I've already written. Please, help me

    Continue reading...

Compartilhe esta Página