diff options
author | amzrk2 | 2021-01-10 21:26:31 +0800 |
---|---|---|
committer | amzrk2 | 2021-01-10 21:26:31 +0800 |
commit | af900964055860ef29f4ad6140d6b3be66e60c7f (patch) | |
tree | 5e6217f2e746619e90026e6f8c62d2bbc59d115a /README.md | |
parent | e5b7e226f064268686c9799e9e54910e3b83b38b (diff) | |
download | hugo-theme-fuji-af900964055860ef29f4ad6140d6b3be66e60c7f.tar.gz hugo-theme-fuji-af900964055860ef29f4ad6140d6b3be66e60c7f.tar.bz2 hugo-theme-fuji-af900964055860ef29f4ad6140d6b3be66e60c7f.zip |
release: v2.5.0
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -95,21 +95,14 @@ showComments = false # Do not show comments in this post ### 🎵 APlayer -In-post APlayer supported, you can set these variables in post's front matter: +In-post APlayer supported, you use the `aplayer` shortcode: -```toml -[[player]] - playerName = "..." # Audio title or name - playerArtist = "..." # Audio artist - playerURL = "..." # Audio URL, support aac, mp3, wav and ogg - playerCover = "..." # Audio cover -[[player]] - playerName = "..." - playerArtist = "..." - playerURL = "..." - playerCover = "..." +```txt +{{< aplayer urls="/aplayer/fluid.mp3" names="Fluid" artists="Crowander" covers="/aplayer/crowander.jpg" >}} ``` +Checkout the `exampleSite/content/post/aplayer-test.md` for more example usage such as using multiple files. + ### 📐 Render LaTeX with KaTex You can write LaTeX directly in markdown with escape characters: |