1.3.0 • Published 3 years ago

hexo-renderer-ts v1.3.0

Weekly downloads
13
License
MIT
Repository
github
Last release
3 years ago

hexo-renderer-ts

hexo renderer for typescript files.

Options

See https://www.typescriptlang.org/docs/handbook/compiler-options.html

In _config.yml:

render:
  ts:
    target: ES2015
    removeComments: true
    newLine: Lf
    pretty: false

Or from tsconfig.json file

render:
  ts: tsconfig.json # path to tsconfig.json file

Or by API:

hexo.render.render({text: '', engine: 'ts'}, {
  target: 'ES2015',
  removeComments: true, 
  newLine: 'Lf', 
  pretty: false}).then(function(result){
  // ...
});
1.3.0

3 years ago

1.2.5

6 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago