Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 565 Bytes
# Copyright (C) 2009 Dimitrij Denissenko
# Please read LICENSE document for more information.
require 'wiki_engine/markup_extension'
module WikiEngine
mattr_accessor :markup_extensions
self.markup_extensions = []
WikiEngine::MarkupExtension.push 'slideshare', /\[slideshare (.+?)\]/ do |match|
match =~ /\[slideshare (.+?)\]/
%Q(<object><embed src="{$1}" type="application/x-shockwave-flash" width="425" height="350" allowscriptaccess="always" allowfullscreen="true"></embed></object>)
Jump to Line
Something went wrong with that request. Please try again.