alstr / todo-to-issue-action

Action that converts TODO comments to GitHub issues on push.
MIT License
603 stars 115 forks source link

Expand the md-support to Rmarkdown/Quarto files. #153

Closed MBrede closed 1 year ago

MBrede commented 1 year ago

The support for RMarkdown/Quarto should be easy to add (at least for comments outside of code chunks), since it uses the same comment-syntax as HTML. This addition to syntax.json should do the trick:

  {
    "language": "RMarkdown",
    "markers": [
      {
        "type": "block",
        "pattern": {
          "start": "<!--",
          "end": "-->"
        }
      }
    ]
  },

I did also append and complete the markdown-tests locally. If you are ok with it, I can open a PR.

MBrede commented 1 year ago

I added the PR (https://github.com/alstr/todo-to-issue-action/pull/154). I hope you do not see that as too forward.

alstr commented 1 year ago

No problem at all, thanks very much.