Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2021-08-25 11:35:21 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2021-08-25 11:35:21 +0300
commit8089a93904d137b8cfc3c8b9bfe7e439cbaa9d10 (patch)
tree9419b6375a2447edec293bd7ce52f6cddf125416 /Rules
parent82ffd7ac8b036b8ed7ce7a516c4b5717a061fa71 (diff)
Add a table sticky headings filter
This wraps all tables inside a div with a class of table-sticky-headings, so that we can style them. See https://gitlab.com/gitlab-org/gitlab-docs/-/issues/1076
Diffstat (limited to 'Rules')
-rw-r--r--Rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rules b/Rules
index c52823f8..d6818725 100644
--- a/Rules
+++ b/Rules
@@ -95,6 +95,7 @@ compile '/**/*.md' do
filter :admonition
filter :icons
filter :introduced_in
+ filter :table_sticky_headings
if item[:layout].nil?
layout '/default.*'