Skip to content

auto link explode #383

Open
Open

Description

@obar1

it would be a great feature in a MD to be able to select a text in and with a combination of keys create a new MD linked to it
Ex from a MD
// in edit mode
this is a new topic to develop
//select topic
this is a new topic to develop
//hit a combinations of keys to create a new md named topic and link added automatically
this is a new topic

Activity

  1. ccoenen commented on Mar 13, 2017

    @ccoenen
    Contributor

    I'd like to extend this to "link to existing page".

    Also, here's what WordPress does - which I quite like and which could be extended to also satisfy @mamatucci's suggestion:

    grafik

    When you have text selected in the editor and hit Ctrl+K, you'll be presented with the very nice short interface above. You can either post a URL into it, or start searching for existing articles, posts... in your wordpress installation. If this also had a way to "create new pad" and directly link to it (perhaps setting the new pad's title correctly, along the way) it would make wiki-like usage of hackMD very convenient.

  2. rmst commented on Feb 23, 2018

    @rmst

    Wrote a mini chrome extension that auto creates documents + link using a shortcut:
    https://github.com/rmst/hackmd-enhance

    It can not link to existing one docs but that would be an awesome feature (contributions welcome!).

  3. almereyda commented on Oct 9, 2018

    @almereyda

    In Hackpad one would start typing @... and is presented with an input box that searches pad titles, or creates new ones. One would have to press Return to confirm the creation. Deleting the @ character would close the box.

    Would it appear useful to migrate the logic from the -enhance repository into the CodiMD frontend and iterate from there?

  4. ccoenen commented on Oct 9, 2018

    @ccoenen
    Contributor

    I would like to use @ for mentioning/referencing/tagging people at a later point (open for discussion obviously). I think it is an extremely common prefix for tagging people, so that it might be unexpected using it for something else.

  5. KingBBQ commented on Mar 26, 2020

    @KingBBQ

    I think the Link Exploder as in HackMD would really be great. I use CodiMD as my generic notes platform, and linking to existing notes is always painful. Just for me to understand - if this feature is present in HackMD, can't it de (easily) migrated?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions