Closed dearfrankg closed 8 years ago
Hi,
Can you provide a screenshot or live example of your problem ? I will look into it
Thanks
```js
var xs = [1, 2, 3, 4, 5]
// pure
xs.slice(0, 3)
// => [1, 2, 3]
xs.slice(0, 3)
//=> [1, 2, 3]
xs.slice(0, 3)
//=> [1, 2, 3]
// impure
xs.splice(0, 3)
//=> [1, 2, 3]
xs.splice(0, 3)
//=> [4, 5]
xs.splice(0, 3)
//=> []
![screen](https://cloud.githubusercontent.com/assets/36104/17353107/7a9b04e0-58f1-11e6-9a28-c7cd924c63aa.png)
Multiline comments don't maintain consistent color...
```js
var hi = function(name) {
return 'Hi ' + name
}
/** ignorant
* unnecessarily wraps a function
* forces a one argument signature
*/
var greeting = function(name) {
return hi(name)
}
// enlightened
var greeting = hi
![screen ml-comments](https://cloud.githubusercontent.com/assets/36104/17354867/220ba4d2-5901-11e6-8f38-824733062725.png)
I can't reproduce the issue, with your first example:
For the Multiline problem, the issue comes from Hexo itself, more precisely the code highlighting engine they are using:
Node version and npm packages versions ?
Works with landscape
and again
themes but not alpha-dust
.
This is strange.
Thanks for taking the time to look into this.
node: v5.10.1 npm: 3.8.3
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.2.2"
},
"dependencies": {
"hexo": "^3.2.0",
"hexo-browsersync": "^0.2.0",
"hexo-generator-archive": "^0.1.4",
"hexo-generator-category": "^0.1.3",
"hexo-generator-feed": "^1.2.0",
"hexo-generator-index": "^0.2.0",
"hexo-generator-sitemap": "^1.1.2",
"hexo-generator-tag": "^0.2.0",
"hexo-inject": "^1.0.0",
"hexo-math": "^3.0.1",
"hexo-renderer-ejs": "^0.2.0",
"hexo-renderer-jade": "^0.3.0",
"hexo-renderer-less": "^0.2.0",
"hexo-renderer-marked": "^0.2.10",
"hexo-renderer-sass": "^0.2.0",
"hexo-renderer-stylus": "^0.3.1",
"hexo-server": "^0.2.0",
"hexo-tag-googlecharts": "^1.0.2"
}
}
I ended up using the Jane theme. Thanks for your efforts anyway.
This should be fixed by now. Closing this ticket.
blank lines do not appear correctly