Skip to content

Inline code language #626

Description

@ioquatix

I'd like to propose an extension that looks like this:

Ruby code: `Object.new`:ruby
Ruby code with extended info: `Object.new`:"ruby lineno=5"

When an inline code block is followed directly by a colon and a non-whitespace character, it gets used for the language.

In addition, some minor internal normalization to the API (don't call it code fence, rather, code info, which makes more sense).

See socketry#1 for a proposed implementation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions