Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy embedding of Markdown code fragments #3216

Closed
pdawyndt opened this issue Nov 21, 2021 · 2 comments
Closed

Easy embedding of Markdown code fragments #3216

pdawyndt opened this issue Nov 21, 2021 · 2 comments
Labels
feature New feature or request

Comments

@pdawyndt
Copy link
Contributor

pdawyndt commented Nov 21, 2021

I don't know if we want to evolve to using a rich Markdown editor, but while code reviewing it would be handy if at least we could have support to include code fragments into a comment. Inline code fragments

`xxx`{:.language-python}

and code fragment blocks

```python
xxx
```

require some typing. Would be handy if users quickly could add stubs to a Markdown field. When reviewing code, the programming language of the code is known, so could be filled up automatically as well.

@pdawyndt pdawyndt added the feature New feature or request label Nov 21, 2021
@pdawyndt pdawyndt changed the title Support for Markdown code fragments Easy embedding of Markdown code fragments Nov 23, 2021
@niknetniko
Copy link
Member

Maybe we could introduce a toolbar, similar to the one on Github? Another button we could add is a copy the line on which the annotation is added into the annotation text field button. There have been a few times where I missed such a feature. (Although I realize it is very easy to just manually copy the line instead)

@bmesuere bmesuere added this to Roadmap Apr 17, 2022
@bmesuere bmesuere moved this to Todo in Roadmap Apr 17, 2022
@bmesuere bmesuere moved this from Todo to Unplanned in Roadmap Apr 17, 2022
@bmesuere
Copy link
Member

This would be useful, but is too much work to implement. (if github would open source their component, that would be nice)

@bmesuere bmesuere closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2023
@github-project-automation github-project-automation bot moved this from Unplanned to Done in Roadmap Nov 17, 2023
BTWS2 added a commit to BTWS2/dodona-edu.github.io that referenced this issue Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants