style: tab to space

This commit is contained in:
MDLeom 2020-07-31 09:06:06 +01:00
parent 28e2caefdc
commit ed0f5def11
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
2 changed files with 12 additions and 12 deletions

View File

@ -52,7 +52,7 @@ highlight:
enable: true enable: true
line_number: false line_number: false
auto_detect: false auto_detect: false
tab_replace: tab_replace: ' '
hljs: true hljs: true
wrap: false wrap: false

View File

@ -10,16 +10,16 @@ Let's say you have an array of objects with duplicate entries:
``` js ``` js
const input = [ const input = [
{ name: 'lorem', item: 'ipsum' }, { name: 'lorem', item: 'ipsum' },
{ name: 'per', item: 'doming' }, { name: 'per', item: 'doming' },
{ name: 'dolor', item: 'lorem' }, { name: 'dolor', item: 'lorem' },
{ name: 'usu', item: 'pericula' }, { name: 'usu', item: 'pericula' },
{ name: 'per', item: 'doming' }, { name: 'per', item: 'doming' },
{ item: 'doming', name: 'per' }, { item: 'doming', name: 'per' },
{ name: 'dolor', item: 'lorem' }, { name: 'dolor', item: 'lorem' },
{ name: 'quem', item: 'graece' }, { name: 'quem', item: 'graece' },
{ item: 'graece', name: 'quem' }, { item: 'graece', name: 'quem' },
{ name: 'sonet', item: 'labitur' } { name: 'sonet', item: 'labitur' }
]; ];
``` ```
@ -32,7 +32,7 @@ const input = [
{ name: 'dolor', item: 'lorem' }, { name: 'dolor', item: 'lorem' },
{ name: 'usu', item: 'pericula' }, { name: 'usu', item: 'pericula' },
{ name: 'per', item: 'doming' }, { name: 'per', item: 'doming' },
{ item: 'doming', name: 'per' }, { item: 'doming', name: 'per' },
{ name: 'dolor', item: 'lorem' }, { name: 'dolor', item: 'lorem' },
{ name: 'quem', item: 'graece' }, { name: 'quem', item: 'graece' },
{ item: 'graece', name: 'quem' }, { item: 'graece', name: 'quem' },