mlc icon indicating copy to clipboard operation
mlc copied to clipboard

Only extract anchor targets/link fragments

Open hoijui opened this issue 4 years ago • 2 comments

With a command line switch, like --only-extract-anchors-targets, only that second phase of the process would be done, and the list of anchor targets would be printed.

This can be useful for debugging, for using other tools for doing the other steps, gathering statistics about anchors or the changing of anchors over time, or .. who knows what! It would move mlc closer to the UNIX style of software, and give more power to the users of this software.

hoijui avatar Jun 15 '21 05:06 hoijui

Only see a usecase if #40 is implemented, or as part of a rust lib of mlc so others can include it in their projects.

becheran avatar Jun 17 '21 20:06 becheran

ah indeed, as a library it also makes a lot of sense! :-)

I personally would also use it as a stand-alone tool, piping into sed, awk, sort and the like.

Anyway.. I am just enlisting my wishes here

hoijui avatar Jun 18 '21 04:06 hoijui