How to get empty paragraphs when using mdast-util-from-markdown
              
              #33
            
            
              
                
                  
                  
                    Answered
                  
                  by
                    wooorm
                  
              
          
                  
                    
                      nicknikolov
                    
                  
                
                  asked this question in
                Q&A
              
            -
| I use mdast-util-from-markdown through remark-parse and I'd like to get the empty paragraph in my AST. I get So the empty paragraphs around my text get "lost" but I would like to use them to visualise the markdown text as is (including the empty paragraphs on line 1 3 and 5). What's the best way achieve this? PS: Hopefully this is the most appropriate place to ask, if not let me know! Thanks | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            wooorm
          
      
      
        Feb 23, 2021 
      
    
    Replies: 1 comment 10 replies
-
| There are no empty paragraphs in markdown 🤷♂️ Could you expand more on what and why you want this? | 
Beta Was this translation helpful? Give feedback.
                  
                    10 replies
                  
                
            
      Answer selected by
        wooorm
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
There are no empty paragraphs in markdown 🤷♂️
Could you expand more on what and why you want this?