description style

This commit is contained in:
2023-12-12 01:55:07 +01:00
parent 6f99277ebe
commit 090b017863

View File

@@ -29,11 +29,11 @@ end
Redmine::WikiFormatting::Macros.register do
desc <<-DESCRIPTION
Embed video attachments
Embed video attachments
{{video(attachment.mp4)}} show video with default size 640x360
{{video(attachment.mp4, width=480, height=320)}} show video with size 480x320
DESCRIPTION
{{video(attachment.mp4)}} show video with default size 640x360
{{video(attachment.mp4, width=480, height=320)}} show video with size 480x320
DESCRIPTION
macro :video do |obj, args|
@width = args[1].gsub(/\D/,'') if args[1]