forked from MapComplete/MapComplete
Add better support for markdown (switch nano-markdown for markdown-it as the former doesn't support backtick-code-formatting), add Markdown element. See #1929
This commit is contained in:
parent
9ead113555
commit
d2e7bac775
10 changed files with 120 additions and 32 deletions
|
@ -507,7 +507,7 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
|
|||
let result = ""
|
||||
while (match) {
|
||||
const [_, normal, key, leftover] = match
|
||||
let v = tags === undefined ? undefined : tags[key]
|
||||
let v = tags?.[key]
|
||||
if (v !== undefined && v !== null) {
|
||||
if (v["toISOString"] != undefined) {
|
||||
// This is a date, probably the timestamp of the object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue