Skip to content

Commit 985a079

Browse files
Merge pull request #140 from the2nake/patch-1
fix: broken hiccup method syntax
2 parents ae8ac1f + b991c85 commit 985a079

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/Embed Media - Audio, Photos, Videos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
- The [[Hiccup]] ClojureScript method is similar to the HTML method, but the markup tends to be more condensed.
8585
- It involves embedding media in the following way:
8686
- ```clojurescript
87-
[:element :src "Link-To-File"}]
87+
[:element {:src "Link-To-File"}]
8888
```
8989
-
9090
- ## Examples
@@ -149,4 +149,4 @@
149149
- **[Areas](https://github.com/bsongOT/logseq-plugin-areas) by bsongOT:** draw areas in an image and link those areas to other Logseq pages and blocks
150150
- **[logseq-localassets-plugin](https://github.com/hkgnp/logseq-localassets-plugin) by hkgnp:** makes embedding local files easier by opening a file explorer window to select your files. It can even embed links to folders.
151151
- **[media controls](https://github.com/stefanbuck/logseq-media-controls) by stefanbuck:** adds playback speed control and skip forward / backward to videos, audio, and YouTube videos
152-
- TODO Split this page up and/or create multiple features that refer to this page. This page is more a tutorial than a reference page #docs
152+
- TODO Split this page up and/or create multiple features that refer to this page. This page is more a tutorial than a reference page #docs

0 commit comments

Comments
 (0)