object all extends AllFormatsOps
Selects the configuration options available for all three output formats.
This means that it only contains the options that exist in all three formats, for anything specific to one or two formats you need to use their respective selectors.
- Alphabetic
- By Inheritance
- all
- AllFormatsOps
- CommonConfigOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fontFamilies(body: String, headlines: String, code: String): Helium
Specifies which font family to use for the body text, for headlines and for inline code and code blocks.
Specifies which font family to use for the body text, for headlines and for inline code and code blocks.
All specified fonts need to be made available for the theme first by using the
fontResources
method. The body font needs to be available at least as regular, italic, bold and bold italic. The headline font needs to support bold and bold italic. For the code font a regular font weight is sufficient.- Definition Classes
- AllFormatsOps → CommonConfigOps
-
def
fontResources(defn: FontDefinition*): Helium
Adds one or more font resources to the theme, either based on a local classpath or file system resource, or a web font URL, or both.
Adds one or more font resources to the theme, either based on a local classpath or file system resource, or a web font URL, or both.
E-book formats like EPUB or PDF require a local font file to be available for embedding. A web font URL can only be used for website generation.
When using this method, all default fonts of the Helium theme will be de-registered.
- Definition Classes
- AllFormatsOps → CommonConfigOps
-
def
fontSizes(body: Length, code: Length, title: Length, header2: Length, header3: Length, header4: Length, small: Length): Helium
Configure the theme's font sizes.
Configure the theme's font sizes. Most property names are self-explanatory, the small font is currently only used for footnote references in PDF output.
- Definition Classes
- AllFormatsOps → CommonConfigOps
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
helium: Helium
- Attributes
- protected
- Definition Classes
- all → AllFormatsOps
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
messageColors(info: Color, infoLight: Color, warning: Color, warningLight: Color, error: Color, errorLight: Color): Helium
Configures the colors of runtime messages embedded in the rendered result.
Configures the colors of runtime messages embedded in the rendered result. Warnings and errors will only be rendered if you change the configuration to visual debugging, by default the presence of errors will lead to the abortion of the process. See the section "Visual Debugging" on the Configuration page in the manual for details.
- info
the text color for info-level messages
- infoLight
the background color for info-level messages
- warning
the text color for warning-level messages
- warningLight
the background color for warning-level messages
- error
the text color for error-level messages
- errorLight
the background color for error-level messages
- Definition Classes
- AllFormatsOps → CommonConfigOps
-
def
metadata(title: Option[String] = None, description: Option[String] = None, identifier: Option[String] = None, authors: Seq[String] = Nil, language: Option[String] = None, date: Option[Instant] = None, version: Option[String] = None): Helium
Allows to define a small set of metadata that describes the output.
Allows to define a small set of metadata that describes the output.
In the generated site it will be used to populate the
<head>
section of the HTML output, for EPUB and PDF it will be used to embed the information into the generated files in a way that the respective readers understand.When using the sbt plugin the
title
,description
andversion
metadata will be pre-populated by the standard sbt settingsname
,description
andversion
respectively. When using the library API no medata will be defined by default. It is recommended to always define the language and title as the minimum set of metadata.- title
the title of the site and/or e-book
- description
a short description of the site and/or e-book
- identifier
a unique identifier for the e-book, not used for site generation
- authors
one or more author names
- language
the language of the site and/or e-book, should always be defined
- date
the publication date as a UTC date-time
- version
the version string for the output
- Definition Classes
- AllFormatsOps → CommonConfigOps
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
syntaxHighlightingColors(base: ColorQuintet, wheel: ColorQuintet): Helium
Specifies two sets of five colors each to be used by Laika's support for syntax highlighting.
Specifies two sets of five colors each to be used by Laika's support for syntax highlighting.
If you use the built-in highlighters (which are based on Laika's own parsers) the display is based on a 10-color scheme with 5 base colors which are usually grayish/low saturation and 5 "wheel" colors which are usually placed around the color wheel.
If you use external tools like
highlight.js
these settings will have no effect and you need to use the styling mechanism of that 3rd-party tool.- Definition Classes
- AllFormatsOps → CommonConfigOps
-
def
tableOfContent(title: String, depth: Int): Helium
Adds a dedicated page for a table of content, in addition to the reader-native navigation structure.
Adds a dedicated page for a table of content, in addition to the reader-native navigation structure.
- title
the title to display on the page and in navigation that links to the page
- depth
the navigation depth which may be different than the one for the reader-native navigation structure
- Definition Classes
- AllFormatsOps → CommonConfigOps
-
def
themeColors(primary: Color, primaryMedium: Color, primaryLight: Color, secondary: Color, text: Color, background: Color, bgGradient: (Color, Color)): Helium
Configures the four main colors used by the theme.
Configures the four main colors used by the theme.
- primary
this color is used for headlines, navigation highlights and other decorative elements
- primaryMedium
is supposed to be a shade between primary and primaryLight and is used for borders and text on the landing page (on dark background)
- primaryLight
is supposed to be a lighter shade of the primary color and is used for the background color of sidebars and other decorated blocks; ensure that the text in the
primary
color is readable when placed on aprimaryLight
background- secondary
this color is used for navigation headers and links
- text
the color of the body text
- background
the background color of the pages
- bgGradient
specifies two colors to be used as background gradient, currently only used on the landing page
- Definition Classes
- AllFormatsOps → CommonConfigOps
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()