Comments (7)
@mlenser I think the only first line is parent indent + current indent. I just leave the first line empty. Or you can use some html beautifiers.
from gulp-file-include.
@TrySound Oooh, first line blank is a better solution than my extra spacing to make it work. Thanks!
from gulp-file-include.
This is merely a workaround, not a solution..
The compilation should correctly put in indentations.
from gulp-file-include.
@mlenser Don't think so. It's a task for another gulp plugin.
from gulp-file-include.
Your stance is that your code should require another plugin to create properly indented html?
from gulp-file-include.
@mlenser It's the node way. Small module is doing one mission. Together they are doing the world.
from gulp-file-include.
@mlenser I added this feature.
from gulp-file-include.
Related Issues (20)
- Postfix
- Support recursive include? HOT 1
- Multiline in variable and json error HOT 1
- Can I use different styles for different source files?
- More error info
- How to loop array of objects if it is inside array of objects in the same JSON file?
- could i config custom `@@webRoot` or add `@@urlRoot` ? HOT 6
- Filters documentation
- Is not difined in IF statement HOT 2
- Question: Extension support in vscode
- Include with part of the JSON HOT 1
- nested for loop, inner variable is not defined HOT 1
- Can html page files be generated in batches? HOT 1
- @@webRoot documentation HOT 4
- Invalid character error HOT 1
- Build only the files that will be changed
- Detect which file have an error
- Fix : invalid characters in JSON5 HOT 2
- json not work in loop HOT 1
- Pass variables to child include
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-file-include.