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

CLI refactor commands #67

Open
NQNStudios opened this issue Dec 31, 2017 · 0 comments
Open

CLI refactor commands #67

NQNStudios opened this issue Dec 31, 2017 · 0 comments

Comments

@NQNStudios
Copy link
Collaborator

NQNStudios commented Dec 31, 2017

It struck me that one thing that's currently difficult is renaming sections in Markdown, especially the more they're referenced in links and macros. Here's a functionality idea that will also benefit us when it comes to making an editor:

fractive refactor @Section @NewSectionName -- searches all Markdown files and updates the section declaration as well as any macro references to @section

Gotcha: sections can also be referenced in code and those cases will be harder (or impossible) to detect programmatically and fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants