Formation of multi-planetary systems via pebble accretion in externally photoevaporating discs in stellar clusters | Synapse