Implement preview for AsciiDoc wiki pages

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

Previewing AsciiDoc markup is not supported in the wiki editor.

Improvements

Implement preview for AsciiDoc markup.

We have a previous attempt for this in gitlab-foss!16190 (closed). The main work is to make the format generic, which we'll focus on in this issue. More formats can then be supported without too much additional work.

Involved components

  • app/assets/javascripts/behaviors/preview_markdown.js
  • app/controllers/concerns/preview_markdown.rb
  • app/services/preview_markdown_service.rb
  • ee/app/services/ee/preview_markdown_service.rb
Edited by 🤖 GitLab Bot 🤖