-
-
Notifications
You must be signed in to change notification settings - Fork 711
Code snippets for paste service links #2679
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
Comments
Are you asking whether it's possible to highlight a specific line range like in Github ? AFAIK, pinnwand allows to highlight a single line and not a range. Relevant issue: supakeen/pinnwand#39 |
|
Issue approved, please leave a comment if you'd like to work on it. |
I can work on this when supakeen/pinnwand#194 is done and merged. |
We have now forked pinnwand and pushed the latest changes to paste.pythondiscord.com
EG https://paste.pythondiscord.com/api/v1/paste/NCXY2ZKJ2TT2E6RBEZHMTJ52VQ |
Could this issue be assigned to me? 🥺 https://paste\.(?:pythondiscord\.com|pydis\.wtf)/(?P<paste_id>[a-zA-Z0-9]+)#\d+L(?P<start_line>\d+)-L(?P<end_line>\d+)(?:,.*)? (https://regex101.com/r/GkhxSx/2) 1 In case multiple files are specified in the URL, only contents of the first file will be displayed. 2 Footnotes
|
@DownDev I see you have been assigned to this issue. Is there ongoing work for this, and do you still plan on doing it ? Or shall I assign vivek instead ? |
Assigned @vivekashok1221 |
The new paste service offers the ability to select specific line when someone sends a link to a paste service with a selected line. In such cases, you can replace the selected line with a code block like its already done for github etc.
Althrough i still did not find a way to select more than one line
The text was updated successfully, but these errors were encountered: