Skip to content

Allow to define content type/language for multiline strings #34

Description

@bandesz

Currently multiline strings can be defined using a pair of ''', e.g.

param = '''
  multiline
  string
'''

Allow to define the language just like in markdown, e.g.

param = '''json
  {
    "foo": "bar"
  }
'''

Also probably ''' should be change to three backticks, so it's convenient to use for people used to markdown.

The language definition should allow to do additional static analysis, e.g. validating embedded json, yaml or shell scripts.

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