Skip to content

Multiline input not possible in Julia executable folds #12

@woutersj

Description

@woutersj

The lines

(when (supports-julia?)
  (plugin-input-converters julia))

in init-julia.scm cause multiline input in executable folds (Insert->Fold->Executable) to fail.

For some reason this command changes (plugin-supports-math-input-ref "julia") from #f to #t. This causes script input to be preprocessed in plugin-preprocess, removing newline characters.

Example Julia fold:

<\script-input|julia|default>
  using Random

  Random.seed!(42)

  rand()
</script-input|0.6293451231426089>

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