google-research / google-research/dex-lang

Notebook should support markdown footnotes

Open
#950 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1.7k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

The trick is that the footnote definition is separated from the text that refers to it by a blank, which the Dex notebook treats as a block boundary and ends up rendering in two separate markdown translation passes. Reproduction:

```
'Some text.[^explanation]

'[^explanation]: More text
```

does not generate a footnote, but should.

Contributor guide

Open the contributing guide

Research direction

Start with the reproduction in the issue and inspect the Dex notebook's markdown block handling, especially the separate translation passes mentioned in the report. Verify the blank-separated footnote case and compare it with a footnote kept in one block. Done means the example generates the expected footnote.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, markdown
Domain
documentation, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.