We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36f09ee + 92f7511 commit 3a40e07Copy full SHA for 3a40e07
converters/tags.rb
@@ -9,9 +9,10 @@ class TagsConverter
9
10
def initialize(backend, opts = {})
11
super
12
- outfilesuffix(".tags.json")
13
- # Pass `-a tags-prefix=qx_` to only include tags starting with `qx_`.
14
- @prefix = opts[:document].attributes.fetch("tags-prefix", "")
+ # Pass `-a tags-output-suffix=.foo` to set suffix of generated output JSON file to ".foo"
+ outfilesuffix(opts[:document].attributes.fetch("tags-output-suffix", ".tags.json"))
+ # Pass `-a tags-match-prefix=foo` to only include tags starting with `foo`.
15
+ @prefix = opts[:document].attributes.fetch("tags-match-prefix", "")
16
end
17
18
# `node` is an `AbstractNode`.
0 commit comments