Skip to content

Implement support for inline JS code #12

@tadatuta

Description

@tadatuta

Proposal:

b1
    `this.ctx.content`

to be converted to

{
    block: 'b1',
    content: this.ctx.content
}

But it's impossible to keep this.ctx.content as is inside JS object so it should be escaped somehow until it's stringified. Let's say it can be kept as

{
    block: 'b1',
    content: '%%%%%this.ctx.content%%%%%'
}

and then stringified as

`{
    block: 'b1',
    content: this.ctx.content
}`

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