<p dir="auto">This doesn't work. It's not a huge deal, but a bit inconvenient.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="begin
    &quot;A test function&quot;
    test_function(a) = &quot;testing&quot;
end

@doc test_function"><pre lang="{julia}" class="notranslate"><code class="notranslate">begin
    "A test function"
    test_function(a) = "testing"
end

@doc test_function
</code></pre></div>
<p dir="auto">e.g. the following does not currently attach a docstring</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="begin
    &quot;&quot;&quot;
    abc
    &quot;&quot;&quot;
    f(x) = 1
end"><pre class="notranslate"><code class="notranslate">begin
    """
    abc
    """
    f(x) = 1
end
</code></pre></div>
<p dir="auto">It's a one-line change in the parser, but I wanted to check whether there was any intention behind this first. cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JeffBezanson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JeffBezanson">@JeffBezanson</a></p>