Hoogle Search

Within LTS Haskell 24.48 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. formatHtml4Block :: FormatOptions -> [SourceLine] -> Html

    skylighting-format-blaze-html Skylighting.Format.HTML

    Like formatHtmlBlock but uses only attributes valid in HTML 4 (so, aria-hidden is not used in empty line number spans).

  2. formatHtmlBlock :: FormatOptions -> [SourceLine] -> Html

    skylighting-format-blaze-html Skylighting.Format.HTML

    Format tokens as an HTML pre block. Each line is wrapped in an a element with the class ‘source-line’. If line numbering is selected, the surrounding pre is given the class ‘numberSource’, and the resulting html will display line numbers thanks to the included CSS. See the documentation for formatHtmlInline for information about how tokens are encoded.

  3. formatHtmlInline :: FormatOptions -> [SourceLine] -> Html

    skylighting-format-blaze-html Skylighting.Format.HTML

    Format tokens using HTML spans inside code tags. For example, A KeywordTok is rendered as a span with class kw. Short class names correspond to TokenTypes as follows: KeywordTok = kw, DataTypeTok = dt, DecValTok = dv, BaseNTok = bn, FloatTok = fl, CharTok = ch, StringTok = st, CommentTok = co, OtherTok = ot, AlertTok = al, FunctionTok = fu, RegionMarkerTok = re, ErrorTok = er, ConstantTok = cn, SpecialCharTok = sc, VerbatimStringTok = vs, SpecialStringTok = ss, ImportTok = im, DocumentationTok = do, AnnotationTok = an, CommentVarTok = cv, VariableTok = va, ControlFlowTok = cf, OperatorTok = op, BuiltInTok = bu, ExtensionTok = ex, PreprocessorTok = pp, AttributeTok = at, InformationTok = in, WarningTok = wa. A NormalTok is not marked up at all.

  4. formatConTeXtBlock :: FormatOptions -> [SourceLine] -> Text

    skylighting-format-context Skylighting.Format.ConTeXt

    Format tokens as a ConTeXt highlighting typing environment. The highlighting environemnt is defined by the macros produced by styleToConTeXt; it is a typing environment with default escaping enabled, i.e., / is the escape character.

  5. formatConTeXtInline :: FormatOptions -> [SourceLine] -> Text

    skylighting-format-context Skylighting.Format.ConTeXt

    Formats tokens as ConTeXt using custom commands inside a type{}. A KeywordTok is rendered using \KeywordTok{..}, and so on.

  6. formatLaTeXBlock :: FormatOptions -> [SourceLine] -> Text

    skylighting-format-latex Skylighting.Format.LaTeX

    Format tokens as a LaTeX Highlighting environment inside a Shaded environment. Highlighting and Shaded are defined by the macros produced by styleToLaTeX. Highlighting is a verbatim environment using fancyvrb; \, {, and } have their normal meanings inside this environment, so that formatting commands work. Shaded is either nothing (if the style's background color is default) or a snugshade environment from framed, providing a background color for the whole code block, even if it spans multiple pages.

  7. formatLaTeXInline :: FormatOptions -> [SourceLine] -> Text

    skylighting-format-latex Skylighting.Format.LaTeX

    Formats tokens as LaTeX using custom commands inside | characters. Assumes that | is defined as a short verbatim command by the macros produced by styleToLaTeX. A KeywordTok is rendered using \KeywordTok{..}, and so on.

  8. formatTypstBlock :: FormatOptions -> [SourceLine] -> Text

    skylighting-format-typst Skylighting.Format.Typst

    Format tokens as a Typst Highlighting environment inside a Skylighting block that can be styled. Skylighting is defined by the macros produced by styleToTypst.

  9. formatTypstInline :: FormatOptions -> [SourceLine] -> Text

    skylighting-format-typst Skylighting.Format.Typst

    Formats tokens as Typst using custom commands inside | characters. Assumes that | is defined as a short verbatim command by the macros produced by styleToTypst. A KeywordTok is rendered using \KeywordTok{..}, and so on.

  10. fork :: IO a -> IO ThreadId

    slave-thread SlaveThread

    Fork a slave thread to run a computation on.

Page 187 of many | Previous | Next