Skip to content

Feature Request: Copy header of code block? #348

@mencoder

Description

@mencoder

Summary

Ability to copy header of the code block

Basic example

By mouse click/double click or separate button. Currently it folds/unfolds when I'm trying to copy header, so to copy header I forced to switch to editor mode and click block content to get title:header string appear to mark and copy it.

Motivation

I'm using header for file names (scripts, configuration files, etc.) of my sysadmin notes. So when creating/editing files I could just copy header and put them in my shell like vim <paste_copied_header_here> and edit file.

Existing Requests?

Didn't find any.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions