Skip to content

Commit

Permalink
fix: made markdown compatible with modern versions of vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
yankeeinlondon committed Aug 17, 2023
1 parent be6af32 commit c8d57bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/components/circle.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ export default defineComponent({
\
<GoogleMap style="width: 100%; height: 500px" :center="{ lat: 37.09, lng: -95.712 }" :zoom="4" mapTypeId="terrain">
<Circle
v-for="{ center, population } in $page.frontmatter.cities"
:options="{ ...$page.frontmatter.circleStyles, center, radius: Math.sqrt(population) * 100 }"
v-for="{ center, population } in $frontmatter.cities"
:options="{ ...$frontmatter.circleStyles, center, radius: Math.sqrt(population) * 100 }"
/>
</GoogleMap>

Expand Down
2 changes: 1 addition & 1 deletion docs/components/polygon.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default defineComponent({

\
<GoogleMap style="width: 100%; height: 500px" :center="{ lat: 24.886, lng: -70.268 }" :zoom="5">
<Polygon :options="$page.frontmatter.bermudaTriangle" />
<Polygon :options="$frontmatter.bermudaTriangle" />
</GoogleMap>

## Events
Expand Down
2 changes: 1 addition & 1 deletion docs/components/polyline.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default defineComponent({

\
<GoogleMap style="width: 100%; height: 500px" :center="{ lat: 0, lng: -180 }" :zoom="3">
<Polyline :options="$page.frontmatter.flightPath" />
<Polyline :options="$frontmatter.flightPath" />
</GoogleMap>

## Events
Expand Down
2 changes: 1 addition & 1 deletion docs/components/rectangle.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default defineComponent({

\
<GoogleMap style="width: 100%; height: 500px" :center="{ lat: 33.678, lng: -116.243 }" :zoom="11" mapTypeId="terrain">
<Rectangle :options="$page.frontmatter.rectangle" />
<Rectangle :options="$frontmatter.rectangle" />
</GoogleMap>

## Events
Expand Down

0 comments on commit c8d57bb

Please sign in to comment.