masukomi / masukomi/vim-markdown-folding

fold fenced latex blocks

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
257
Forks
44
PR merge metrics
No merged PRs in 30d

Description

I think that the way of indicating latex blocks in markdown can vary depending on what you're interpretting it with, but I run mine through a jekyll plugin and they are deliminated with two dollar signs like so:

```
$$
\text{latex goes here!}
e^{i\pi}=-1
$$
```

would be great if folding these blocks was supported, pretty much the same deal as fenced code blocks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the existing fenced-code folding logic in the plugin and compare its delimiter handling with the issue's $$ example. Add equivalent folding behavior for markdown blocks delimited by two dollar signs, then verify that ordinary fenced code folding still works and that the example folds as one block.

Written by the indexing model from the issue text.

Assessment

Tech stack
jekyll, latex, markdown, vim
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.