mapzen / documentation

Configuration files, tools, and content to build Mapzen's documentation
https://mapzen.com/documentation
MIT License
25 stars 22 forks source link

remove extra <br>s around images #267

Closed meetar closed 6 years ago

meetar commented 7 years ago

Seeing some extra space between code blocks and images in a docs page (https://precog.mapzen.com/mapzen/documentation/meetar/unembed-tutorial2/documentation/tangram/custom-styles/):

screen shot 2017-03-01 at 1 51 27 pm

Markdown code looks like this:

```yaml
sources:
    mapzen:
        type: TopoJSON
        url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson

layers:
    roads:
        data: { source: mapzen }
        draw:
            lines:
                order: 1
                width: 5px
                color: gray
```
![simple road map](https://tangrams.github.io/tangram-docs/tutorials/custom/custom1.jpg)

And resulting html looks like this in the dev pane:

screen shot 2017-03-01 at 1 52 08 pm

I'm seeing <br> tags on either side of the <img> – would it be possible to remove those from the build process?