υποστήριξη gemini - post
Όλοι οι έλεγχοι ήταν επιτυχείς
Hellug/www/pipeline/head This commit looks good
Όλοι οι έλεγχοι ήταν επιτυχείς
Hellug/www/pipeline/head This commit looks good
Αυτό το commit περιλαμβάνεται σε:
γονέας
7e065a0b1a
commit
3c6a384560
2 αρχεία άλλαξαν με 17 προσθήκες και 1 διαγραφές
|
@ -17,7 +17,7 @@
|
|||
{{ $links := findRE `\n=> ` $content }}{{ $scratch.Set "ref" (add (len $links) 1) }}
|
||||
{{ $refs := findRE `\[.+?\]\(.+?\)` $content }}
|
||||
{{ $scratch.Set "content" $content }}{{ range $refs }}{{ $ref := $scratch.Get "ref" }}{{ $contentInLoop := $scratch.Get "content" }}{{ $url := (printf "%s #%d" . $ref) }}{{ $contentInLoop := replace $contentInLoop . $url -}}{{ $scratch.Set "content" $contentInLoop }}{{ $scratch.Set "ref" (add $ref 1) }}{{ end }}{{ $content := $scratch.Get "content" | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$1 [$3]" -}}
|
||||
{{ $content | safeHTML | plainify }}
|
||||
{{ $content | safeHTML }}
|
||||
|
||||
---
|
||||
{{ $scratch.Set "ref" (add (len $links) 1) }}{{ if $refs }}
|
||||
|
|
Φόρτωση…
Προσθήκη πίνακα
Προσθήκη υπερσυνδέσμου
Παράθεση σε νέο ζήτημα