How to publish a note to gallery