summaryrefslogtreecommitdiff
path: root/lib/gitlab/asciidoc.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot2020-12-171-2/+19
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-061-1/+15
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-301-0/+2
|
* Enable section anchorsGuillaume Grossetie2019-07-161-0/+1
|
* Enable AsciiDoc syntax highlighting (using Rouge)Guillaume Grossetie2019-07-021-1/+2
|
* Add basic support for AsciiDoc include directiveGuillaume Grossetie2019-06-141-32/+22
| | | | See http://asciidoctor.org/docs/user-manual/#include-directive
* Enable frozen string for lib/gitlab/*.rbgfyoung2018-10-221-0/+2
|
* Set Asciidoctor outfilesuffix to default .adocTuro Soisenniemi2018-02-141-1/+2
| | | | | | | | | Without setting outfilesuffix Asciidoctor defaults to .html. When .html is used, inter-document cross references do not work in Gitlab's repository / file renderer. See more information from http://asciidoctor.org/docs/user-manual/#navigating-between-source-files and http://asciidoctor.org/docs/user-manual/#inter-document-cross-references
* use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa2018-02-021-5/+3
| | | | including/extending it
* `current_application_settings` belongs on `Gitlab::CurrentSettings`Sean McGivern2017-08-311-0/+2
| | | | | | | | | | | | | | | | The initializers including this were doing so at the top level, so every object loaded after them had a `current_application_settings` method. However, if someone had rack-attack enabled (which was loaded before these initializers), it would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't have that method. To fix this: 1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need `Object.new.current_application_settings` to work. 2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it like that in several places. 3. Change the initializers to use that new form.
* Fix LaTeX formatting for AsciiDoc wikiJarka Kadlecova2017-05-241-7/+6
|
* Merge branch 'bvl-security-9-1-markup-pipeline'Robert Speicher2017-05-101-4/+4
| | | | | | (security-9-1) Render asciidoc & other markup using banzai in a pipeline See merge request !2098
* Remove unused optional parameter `asciidoc_opts`Toon Claes2017-04-271-8/+4
|
* Refactor MarkupHelperDouwe Maan2017-04-271-7/+1
|
* Cache the rendered README, but post-process on showToon Claes2017-04-271-2/+0
| | | | | | Because the post-processing of the rendered README is dependent on the context (i.e. the current user), do the post-processing when the README is being displayed.
* Merge branch 'asciidoctor-xss-patch' into 'security' Robert Speicher2017-02-151-0/+3
| | | | | Add sanitization filter to asciidocs output to prevent XSS See https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2057
* Add support for PlantUML diagrams in Asciidoc.Horacio Sanson2017-01-121-0/+12
| | | | | | | | | | | | | | | | | | | | | This MR enables rendering of PlantUML diagrams in Asciidoc documents. To add a PlantUML diagram all we need is to include a plantuml block like: ``` [plantuml, id="myDiagram", width="100px", height="100px"] -- bob -> alice : ping alice -> bob : pong -- ``` The plantuml block is substituted by an HTML img element with *src* pointing to an external PlantUML server. This MR also add a PlantUML integration section to the Administrator -> Settings page to configure the PlantUML rendering service and to enable/disable it. Closes: #17603
* Don't open Asciidoc module twiceMunken2016-12-151-4/+0
|
* Render math in Asciidoc and Markdown with KaTeX using code blocksMunken2016-12-141-1/+30
|
* Enable display of admonition icons in Asciidoc.Horacio Sanson2016-12-081-1/+1
| | | | | | | | | When rendering Asciidoc documents this merge request enables the diplay of admonition blocks using font icons. This improves the looks of Asciidoc redered files. This uses the font-awesome fonts already present in Gitlab so no large dependencies are required for this to work.
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-011-1/+0
|
* Fix relative links in other markup formatsben.boeckel/gitlab-ce-fixup-links-in-generic-docsBen Boeckel2016-02-121-3/+1
| | | | | | | | - Apply the RelativeLinkFilter filter to other formats, e.g., reStructuredText so links from the Files view or the Project view work - Remove the AsciidocPipeline pipeline Fixes #3533.
* Move Markdown/reference logic from Gitlab::Markdown to BanzaiDouwe Maan2015-12-151-1/+1
|
* Use Gitlab::Markdown for Asciidoc and ReferenceExtractor pipelinesDouwe Maan2015-10-141-23/+4
|
* Handle AsciiDoc better, reuse HTML pipeline filters (fixes #9263)Jakub Jirutka2015-05-181-0/+60