Changes formatting of map tooltip to remove large amounts of whitespace.
Rmd seems to double the number of </br> elements in a text chunk. Not sure why. This means that nicely spaced things in a normal HTML document come out very weird in Rmd.
I have added a : as a simple fix to make the tooltip look ok in both HTML and Rmd (Favouring the look in Rmd).
HTML:
Rmd:
Closes #64.
Also adds a quick way to run grunt, bump rt_vis version in RtD3, install new RtD3 version in makefile, and render Rmd doc as HTML.
make check
Will help with this type of issue where something looks fine in the dev environment and looks weird in Rmd.
WORK_DIR variable should be stored in .env file to give the parent directory of both rt_vis and RtD3 and let Makefile bumping & checking work smoothly.
Changes formatting of map tooltip to remove large amounts of whitespace.
Rmd seems to double the number of
</br>
elements in a text chunk. Not sure why. This means that nicely spaced things in a normal HTML document come out very weird in Rmd.I have added a
:
as a simple fix to make the tooltip look ok in both HTML and Rmd (Favouring the look in Rmd).HTML:
Rmd:
Closes #64.
Also adds a quick way to run
grunt
, bumprt_vis
version inRtD3
, install newRtD3
version in makefile, and render Rmd doc as HTML.Will help with this type of issue where something looks fine in the dev environment and looks weird in Rmd.