Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Parsing markdown code blocks as real code #190

Description

@fazibear

Example markdown file:

-- start of .md file --

Hello code

this is nice piece of coce

defmodule Test do
  def render(assigns) do
    ~L"""
      <h3><%= @current %></h3>
    """
  end

-- end of .md file ---

and the warning:

warning: assign @current not available in EEx template. Please ensure all assigns are given as options. Available assigns: [:author, :author_image, :date, :dependency_chain, :env, :extension, :image, :input_file, :permalink, :preprocessor, :tags, :title]

Looks like elixir trying to parse code in code block of md file like it's read eex.

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