Text this: Gating monolayer and bilayer graphene with a two-dimensional semiconductor