description style
This commit is contained in:
1 parent
6f99277ebe
commit
090b017863
1 file changed
+4
-4
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user