首页 > 解决方案 > 如何在 Notepad++ 上正确格式化和连接行

问题描述

我有一个格式化的 HTML 文件

我想在记事本++中加入行
我使用ctrl + j

例子:

https://media.giphy.com/media/TersKT6fu4m0vdnI68/giphy.gif

但现在 https://media.giphy.com/media/hvG3Dk1DfRHvW4CiR8/giphy.gif

行应该以 < h2 > 开头,我不知道为什么它从图像文件开始。
可能是断线 -\n但不确定。

这行得通

 "<h2>"

            "</h2>"
                "design/design.005.jpg"  
                Neat thick dreads, slightly messy dreads, skinny dreads… 



 "<h2>"
                A Wavy Messed up Side Part
            "</h2>"
                "design/design.006.jpg"  
                This hairstyle designed for men with soft curly hair. 




 "<h2>"
                Afro Blowout Styles
            "</h2>"
                "design/design.007.jpg"  
                Black guys usually have awesome, voluminous hair.  whole look. 

这不起作用

 "<h2>"  
                High Seas Single Line
            "</h2>" 

                 "2-100/2-100.010.jpg"    
                Another cool single line tattoo, this one takes a subject that is usually done up with detail and breaks it down into the simplicity of its parts. 
 "<h2>"  
                Tipping the Scales
            "</h2>" 

                 "2-100/2-100.011.jpg"    
                It actually took me a minute to figure out what this tattoo was. At first I thought 
 "<h2>"  
                Fibonacci Sequence
            "</h2>" 

                The Fibonacci sequence, as I understand it, takes two 

标签: notepad++

解决方案


推荐阅读