Commit aa56b7c9 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Implement @markdown as meta-tag.

parent 91181f84
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -140,9 +140,6 @@ module JsDuck
          boolean_at_tag(/@accessor/, :accessor)
        elsif look(/@evented\b/)
          boolean_at_tag(/@evented/, :evented)
        elsif look(/@markdown\b/)
          # this is detected just to be ignored
          boolean_at_tag(/@markdown/, :markdown)
        elsif look(/@/)
          @input.scan(/@/)
          tag = @meta_tags[look(/\w+/)]
+12 −0
Original line number Diff line number Diff line
require "jsduck/meta_tag"

module JsDuck::Tag
  # A @markdown tag that is simply ignored
  class Markdown < JsDuck::MetaTag
    def initialize
      @name = "markdown"
      @boolean = true
    end
  end
end