blocks icon indicating copy to clipboard operation
blocks copied to clipboard

support passing parameters to BlockComponent tags in Markdown

Open jaked opened this issue 2 years ago • 1 comments

E.g. to control the display of a file, like showing different versions of an install command for npm, yarn, etc.

jaked avatar Mar 23 '23 15:03 jaked

The idea would be something like:

<Block
   ...
   metadata={{
     userDefinedProp: "npm" // now this can be consumed in the react code
   }}
   
/>

Hacksore avatar Mar 23 '23 15:03 Hacksore