Skip to content

Markdown text interpolation bug #55943

Open
@haakon-e

Description

@haakon-e

In the following example, the variable y does not always get interpolated correctly and is instead interpreted as a math environment

let
	x = 1
	y = 2
	md"""
	This works: x = $x, y = $y
	
	but this doesnt: x = $x, y = ($y)

	adding a space after '(' fixes it: x = $x, y = ( $y)
	"""
end

Screenshot:
image


Julia v1.10.5
Originally posted here: fonsp/Pluto.jl#3028
Possibly related to: #52330, #37334,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions