Controlling X-ray emission with optical nanostructures | Synapse