| Age | Commit message (Collapse) | Author |
|
- clarify monospaced vs literal text
|
|
|
|
|
|
|
|
|
|
collapsible option is set (PR #3157)
- convert example block to details/summary tag set if collapsible option is set
- configure details tag to open by default if open option is set on collapsible example block
- add margin bottom to details tag in default stylesheet
|
|
on summary (PR #3156)
|
|
(PR #3120)
|
|
#3112)
|
|
|
|
|
|
|
|
|
|
|
|
- add SyntaxHighlighter adapter implementation for Rouge
- support CGI options attached to language (e.g., "console?prompt=$ ")
- change CSS class of line numbering table for Pygments and Rouge to linenotable
- reuse styles from default stylesheet to layout the line number column
- remove nested pre wrapper in Pygments output when line numbering is enabled and linenums mode is inline
- ensure syntax highlighter library is loaded when looking up base style
- add the rouge gem as a development dependency
|
|
|
|
highlighter is pygments
|
|
- define the Asciidoctor::SyntaxHighlighter module to handle all aspects of syntax highlighting
- define built-in SyntaxHighlighter adapters for coderay, pygments, highlight.js, html-pipeline, and prettify
- move all embedded syntax highlighting logic into SyntaxHighlighter adapters
- allow SyntaxHighlighter adapter class to self register with a source highlighter name using register_for
- load SyntaxHighlighter adapters lazily (except for highlight.js and html-pipeline)
- add :syntax_highlighters and :syntax_highlighter_factory options to API to allow syntax highlighter resolution to be customized
- instantiate SyntaxHighlighter adapter once header is finalized if source-highlighter attribute is set on document and basebackend is html
- provide SyntaxHighlighter factory modules for registering syntax highlighter adapters (default, custom, and default proxy)
- allow SyntaxHighlighter adapters to contribute docinfo at :head and :footer slots in HTML output document
- move retrieval and writing of stylesheets for syntax highlighters to SyntaxHighlighter adapters
- wire methods in Stylesheets class that pertain to syntax highlighting to SyntaxHighlighter adapters
- remove hard-coded styles in Pygments output
- update default stylesheets to support Pygments styles and drop CSS workarounds
- don't fail if value of pygments-style attribute is not recognized; instead fallback to default style
- don't remove nested pre tags in HTML produced by Pygments when linenums are enabled
- update default stylesheet to avoid styling nested pre tags
- rename pygments table class to pygments-table
- change pygments base CSS selector from .listingblock .pygments to pre.pygments
- allow color for generic text, line numbers, and line number border to inherit from Pygments style
- align stylesheet for default CodeRay style with other syntax highlighters
- set default background color for prettify using a selector with the lowest precedence
- update and add tests
- add tests for the Pygments integration
- add pygments.rb dependency and enable Pygments integration tests if the environment variable PYGMENTS=true is set
- move syntax highlighter tests to dedicated test file
|
|
|
|
|
|
- don't hard-code shaded color in source block so it works with different themes/styles
- don't hard-code background color on pre.prettify to allow themes to be used
- use prettify-theme attribute value as is if it starts with http:// or https://
- load run_prettify instead of calling prettyPrint()
- configure code and pre nested inside pre to inherit styles
|
|
|
|
|
|
of all caps
|
|
|
|
|
|
|
|
|
|
|
|
role is specified
|
|
|
|
|
|
|
|
- color property was written as font-color in lead paragraph styles
|
|
|
|
#2741)
|
|
(PR #2725)
- add fit-content CSS class to autowidth table
- only set white-space: nowrap on table caption if table has automatic width
|
|
|
|
Add styles to default stylesheet for display on Kindle (kf8) devices
|
|
- remove negative margin from title
- center title
- reduce line height
- indent block by 1em
- simplify selectors
|
|
|
|
|
|
- number parts using roman numerals if the partnums attribute is set
- move method to convert integer to roman to Helpers module
- assign the value "Part" to the part-refsig attribute by default
- define the part-label attribute in the attributes-en.adoc data file
- add support for partnums and sectnums=all to create_section helper in extensions
- add partnums and sectnums=all scenarios to test for create_section helper
|
|
|
|
|
|
specified (PR #2625)
|
|
(PR #2593)
- add content class to div surrounding AsciiDoc cell content
- collapse bottom margin of last block in AsciiDoc table cell
- simplify margin collapsing on last paragraph in normal cell
- remove unused styles
- update tests
|
|
|
|
table (PR #2588)
- valid values are even, odd, all, and none
- not set by default; implies stripes on even rows
- requires support from stylesheet
|
|
|