hi! I'm new to ConTeXt. I want to define a command with sidenote function. This [setupsidenote] command inherits the options of [setupmargindata], [setupcounter] and [setupframed]. just like [setupenumeration] inherits the option of [setupcounter]. I've defined the following sidenote command by searching, and I know how to define a new option for it. But what I don't know is how to get it to inherit the options of other commands and perform these features correctly. Any clue is warmly welcome. ``` % macros=mkvi \unprotect \installnamespace {sidenote} \installcommandhandler \????sidenote {sidenote} \????sidenote \setupsidenote[ align=, conversion=n, way=bytext, style=, ] \definecounter [SidenoteMarkNumber] [prefix=no] \definemargindata [SidenoteContent] [outer] [margin=margin,width=\outermarginwidth] \setupmargindata [SidenoteContent] [stack=yes,style=\it] \def\sidenotemark{\rawcountervalue[SidenoteMarkNumber]} \def\convertsidenotemark#1{\high{\convertnumber{#1}{\sidenotemark}}} \def\sidenote{\dosingleempty\dosidenote} \def\dosidenote[#1]#2{% \getparameters[SMsidenote] [align=\sidenoteparameter{align}, conversion=\sidenoteparameter{conversion}, way=\sidenoteparameter{way}, #1]% \setupcounter [SidenoteMarkNumber] [#1] \incrementcounter[SidenoteMarkNumber] \convertsidenotemark{\SMsidenoteconversion}% mark in text \SidenoteContent[#1]{\setscript[hanzi]\setup[\SMsidenotealign]% \convertsidenotemark{\SMsidenoteconversion}% mark with note #2 }} \protect \starttext 天地玄黄,宇宙洪荒。日月盈昃,辰宿列张。寒来暑往,秋收冬\sidenote[align=flushleft] {天地玄黄,宇宙洪荒。} \stoptext ```