Continued from: sublimehq/package_control_channel#9005 (comment)
If the code block is rendered using a specific embedded syntax (as it should), you should be able to get the actual syntax used for that block so that you don't have to use that lookup mapping.
Continued from: sublimehq/package_control_channel#9005 (comment)