Compare commits
2 Commits
fbcde80630
...
d2d49f649b
Author | SHA1 | Date |
---|---|---|
j4nk | d2d49f649b | |
j4nk | 7e62a5158f |
|
@ -79,6 +79,7 @@
|
|||
(let ((cleanline (md4tj-clean-multiline line)))
|
||||
;; If this is a signal to include another file
|
||||
(cond ((string-match "^@@INCLUDE" line) (md4tj-parse-to-string (nth 1 (split-string line))))
|
||||
((string-match "^@@LASTUPDATED" line) (concat "Last updated: " (current-time-string)))
|
||||
;; If this is some other signal, ignore
|
||||
((string-match "^@@" line) "")
|
||||
;; Otherwise, process as normal
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<html lang="en-us">
|
||||
<head>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="test_css.css">
|
||||
<title>Test webpage</title>
|
||||
|
||||
|
@ -45,5 +46,6 @@ int main() {
|
|||
</code>
|
||||
</pre>
|
||||
<br/>
|
||||
Last updated: Wed Jan 4 10:43:05 2023
|
||||
</body>
|
||||
</html>
|
|
@ -27,3 +27,4 @@ int main() {
|
|||
return 0;
|
||||
}
|
||||
```
|
||||
@@LASTUPDATED
|
Loading…
Reference in New Issue