#327·slides

new line not working for the test text

Author: ghostCreated Apr 17, 2025Updated Apr 17, 2025

you can see here before i run chmod +x test.md it displays it like this:

▓▓▓ Pre-process slides                                                                                            
                                                                                                                     
   You can add a code block with three tildes ( ~ ) and write a command to run before displaying the slides, the     
   text inside the code block will be passed as  stdin  to the command and the code block will be replaced with the  
   stdout  of the command.                                                                                           
                                                                                                                     
     ~~~graph-easy --as=boxart                                                                                       
     [ A ] - to -> [ B ]                                                                                             
     ~~~                                                                                                             
                                                                                                                     
   The above will be pre-processed to look like:                                                                     
                                                                                                                     
   ┌───┐  to   ┌───┐ │ A │ ────> │ B │ └───┘       └───┘                                                             
                                                                                                                     
   For security reasons, you must pass a file that has execution permissions for the slides to be pre-processed. You 
   can use  chmod  to add these permissions.                                                                         
                                                                                                                     
     chmod +x file.md                                

and after chmod

 ▓▓▓ Pre-process slides                                                                                            
                                                                                                                     
   You can add a code block with three tildes ( ~ ) and write a command to run before displaying the slides, the     
   text inside the code block will be passed as  stdin  to the command and the code block will be replaced with the  
   stdout  of the command.                                                                                           
                                                                                                                     
                                                                                                                     
                                                                                                                     
   The above will be pre-processed to look like:                                                                     
                                                                                                                     
   ┌───┐  to   ┌───┐ │ A │ ────> │ B │ └───┘       └───┘                                                             
                                                                                                                     
   For security reasons, you must pass a file that has execution permissions for the slides to be pre-processed. You 
   can use  chmod  to add these permissions.                                                                         
                                                                                                                     
     chmod +x file.md  

what can be the problem?