i don't know if there's an easier way, but after trial and error i found a way. You go up the ramp on the opposite side, perch yourself right on the highest point at the top of the ramp, closest to the edge, and do a double dash jump straight across, making sure to let each dash go fully before you jump. if you get the timing down, you can snag the ledge.