Skip to content

Better Interpolation support #1

Description

@worksofliam

See the pug docs here for Interpolation: https://pugjs.org/language/interpolation.html

apug needs support for these two things:

Inline variable support (done)

p Written with love by #{author}
p This will be safe: #{theGreat}

This needs to be parsed out in ProcessLine the processing mode is MODE_VAL: https://github.com/WorksOfLiam/apug/blob/master/src/apug.rpgle#L495

Dot at end of tag support

This functionality is similar to the pipe (|) feature, in that everything in the scope of the tag will be in the value of the tag.

p.
  This is a very long and boring paragraph that spans multiple lines.
  This is yet another line.
  This is also yet another line.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions