From af900964055860ef29f4ad6140d6b3be66e60c7f Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Sun, 10 Jan 2021 21:26:31 +0800 Subject: release: v2.5.0 --- README.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 66f630a..5925774 100644 --- a/README.md +++ b/README.md @@ -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: -- cgit v1.2.3