Provided are compositions and methods for intracellular detection of enzyme activity. One example of a composition is a histone deacetylase substrate comprising a compound of the following formula (I): One example of a method is a method for detecting histone deacetylase activity comprising introducing a compound according to formula (1) to a plurality of cells and monitoring the cells with magnetic resonance spectroscopy.