will a 727 bolt to a 318?

Be aware, 727 was also available behind slants. Early ones used a factory adaptor to mate up to a BB bell, case on later ones were direct fit to the slant motor and by the late 70s used a lock up torque converter.
That means there are three possible case to block patterns and only one has a bell that is made to bolt to the LA engines. Also, 318s are neutral balance, cast crank 340s and all 360s are not. If you get a converter balanced for one of those and use it behind your 318, you won't like the results, although I have heard of guys getting away with knocking the balance weights off.
727s are strong, but will cost you power and noticeable fuel economy over one of the V8 904 variants.