LaTeX will assume that it's in the exact same Listing since the editor. There are methods it is possible to alter the default Listing for figures, but we received’t go into that in this article. thanks Funded through the Overleaf staff. : could be included following the identify in https://latex.mystrikingly.com