Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Proposal: Allow reference [link] definition to support other structure beyond links #321

@criloz

Description

@criloz

examples:

[link]: http://example.com
[pop-up-card]: 
  # hello world
   Lorem Ipsum
[code]: 
  ```= js
    function main(age){
          if(age>25) {return "accepted"}
          else {return "declined"}
     } 
  ```
  • It will be known just as reference defintion

The interpretation of those other kind of reference will be lt it open to the renderer engine, it allows implementing thing like popup widgets and callable code.

To maintain backward compatibility in this form [link]: http://example.com will behave exactly like now, only admitting a link that can have multiple lines, but if a line break is found after ]: it will be starting to accept a block syntax taking into account the indentation similar to how a Footnote behave.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions