Is it just me, or is there a problem with the rendering of markdown? Just posted this answer on dba.SE:
Searching for a close numeric match on spatial coordinates
Unlike with other (pre-existing) posts, rendering seems to fail.
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.
Sign up to join this communityIs it just me, or is there a problem with the rendering of markdown? Just posted this answer on dba.SE:
Searching for a close numeric match on spatial coordinates
Unlike with other (pre-existing) posts, rendering seems to fail.
The problem is this block of code near the end of your post:
```
SELECT *, ((longitude - 9.876543210987654321) ^ 2
+ (latitude - 1.234567890123456789) ^ 2) AS squared_dist
FROM tbl
WHERE ((longitude - 9.876543210987654321) ^ 2
+ (latitude - 1.234567890123456789) ^ 2) < 0.000000001 -- or whatever
ORDER BY point (longitude, latitude)
<-> point '(9.876543210987654321,1.234567890123456789)'
LIMIT 10;
```pgsql
The ```pgsql
is not recognized as the end of a code block; the language hint should be at the beginning instead.