angular-docs-cn/aio/tools/transforms/angular-base-package
Peter Bacon Darwin ca17d4f639 build(aio): auto-fill width/height to all image tags
Parse all `<img>` tags, during doc-gen, and insert the width and height of
the sourceed image, if neither are already specified.

Warnings are reported if the `<img>` tag has no `src` attribute or the image
cannot be loaded.

The work is done in the `addImageDimensions` post-processor, which must be
configured with a `basePath` so that it knows where to find the images.

Closes #15888
2017-05-01 15:52:51 -07:00
..
post-processors build(aio): auto-fill width/height to all image tags 2017-05-01 15:52:51 -07:00
processors build(aio): auto-fill width/height to all image tags 2017-05-01 15:52:51 -07:00
readers build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
rendering build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
services build(aio): auto-fill width/height to all image tags 2017-05-01 15:52:51 -07:00
ignore.words build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
index.js build(aio): auto-fill width/height to all image tags 2017-05-01 15:52:51 -07:00