the-simian / hexo-tag-googlemaps

A hexo tag for google maps. Does much more than a simple embedded iFrame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use this in markdown?

carloscarcamo opened this issue · comments

I wonder how can I use this plugin to write post with mardown

{% googlemaps -33.9 151.2 10 100% 450px %}
  Bondi Beach, -33.890542, 151.274856,http://google-maps-icons.googlecode.com/files/cityhall-tourism.png
  Coogee Beach, -33.923036, 151.259052
  Cronulla Beach, -34.028249, 151.157507
  Manly Beach, -33.80010128657071, 151.28747820854187, http://google-maps-icons.googlecode.com/files/animals.png
  Maroubra Beach, -33.950198, 151.259302, http://google-maps-icons.googlecode.com/files/cocktail.png
{% endgooglemaps %}

simply include the tag, like the example above.

here is an example of it running in production:
http://okcjs.com/2015/07/21/2015-7-21-webgl-the-hard-way/#more

Here is the markdown file that is referencing

https://github.com/techlahoma/okcjs-website/blob/master/source/_posts/2015-7-21-webgl-the-hard-way.md

Make note of this code:

{% googlemaps 35.478527 -97.519417 17%} Prototek OKC, 35.478527, -97.519417, http://google-maps-icons.googlecode.com/files/tools.png {% endgooglemaps %}