Nbdev v2 launched

Hi guys,

Is there a way to export a function includes codes which contains % or %% like the one below?

#| export
def reload():
    %load_ext autoreload
    %autoreload 2
reload()    

I have raised the question here previously