Text this: A high-resolution strain-gauge nanolaser