Document how to escape emoji
This commit is contained in:
@@ -142,7 +142,7 @@ Gollum comes with the following command line options:
|
|||||||
| --page-file-dir | [PATH] | Specify the subdirectory for all pages. If set, Gollum will only serve pages from this directory and its subdirectories. Default: repository root. |
|
| --page-file-dir | [PATH] | Specify the subdirectory for all pages. If set, Gollum will only serve pages from this directory and its subdirectories. Default: repository root. |
|
||||||
| --css | none | Tell Gollum to inject custom CSS into each page. Uses `custom.css` from repository root.<sup>3,5</sup> |
|
| --css | none | Tell Gollum to inject custom CSS into each page. Uses `custom.css` from repository root.<sup>3,5</sup> |
|
||||||
| --js | none | Tell Gollum to inject custom JS into each page. Uses `custom.js` from repository root.<sup>3,5</sup> |
|
| --js | none | Tell Gollum to inject custom JS into each page. Uses `custom.js` from repository root.<sup>3,5</sup> |
|
||||||
| --emoji | none | Parse and interpret emoji tags (e.g. :heart:). |
|
| --emoji | none | Parse and interpret emoji tags (e.g. `:heart:`) unless when the leading colon is backslashed (e.g. `\:heart:`). |
|
||||||
| --no-edit | none | Disable the feature of editing pages. |
|
| --no-edit | none | Disable the feature of editing pages. |
|
||||||
| --live-preview | none | Enable the live preview feature in page editor. |
|
| --live-preview | none | Enable the live preview feature in page editor. |
|
||||||
| --no-live-preview | none | Disable the live preview feature in page editor. |
|
| --no-live-preview | none | Disable the live preview feature in page editor. |
|
||||||
|
|||||||
+1
-1
@@ -99,7 +99,7 @@ MSG
|
|||||||
opts.on("--js", "Inject custom JavaScript into each page. The '<git-repo>/custom.js' file is used (must be committed).") do
|
opts.on("--js", "Inject custom JavaScript into each page. The '<git-repo>/custom.js' file is used (must be committed).") do
|
||||||
wiki_options[:js] = true
|
wiki_options[:js] = true
|
||||||
end
|
end
|
||||||
opts.on("--emoji", "Parse and interpret emoji tags (e.g. :heart:).") do
|
opts.on("--emoji", "Parse and interpret emoji tags (e.g. :heart:) unless when the leading colon is backslashed (e.g. \\:heart:).") do
|
||||||
wiki_options[:emoji] = true
|
wiki_options[:emoji] = true
|
||||||
end
|
end
|
||||||
opts.on("--no-edit", "Disable the feature of editing pages.") do
|
opts.on("--no-edit", "Disable the feature of editing pages.") do
|
||||||
|
|||||||
Reference in New Issue
Block a user