1
Line numbers and permalinks for code blocks
Source: outline/outline#1677 · opened by @mattcollier
Outline already has good support for permalinks to document headers. This would be extending that functionality to specific lines within a code block as with a gist. For example:
Key features:
• code blocks should have line numbers
• a user should be able to select one or more lines in a code block that results in a hash fragment being appended to the end of the url. There should be some sort of highlighting associated with the selection.
• Someone clicking on a permalink (with the appropriate permissions) should be able to view the document with the appropriate lines highlighted.
Key features:
• code blocks should have line numbers
• a user should be able to select one or more lines in a code block that results in a hash fragment being appended to the end of the url. There should be some sort of highlighting associated with the selection.
• Someone clicking on a permalink (with the appropriate permissions) should be able to view the document with the appropriate lines highlighted.
No pledges yet. Be the first to back this.
Comments
Similar requests
Keep code block line numbers visible when ‘Wrap lines’ is enabled
1 vote · 0 comments
Drag handle to set code block height with internal scrolling
1 vote · 0 comments
Implement Optimal Line Length for Better Readability and WCAG Compliance
1 vote · 0 comments
Line wrap in code blocks
5 votes · 0 comments
Set a maximum number of lines shown on Code Blocks
1 vote · 0 comments
No comments yet.