How to show code output in text?

@vinnyvedici457 i searched a lot but not find anywhere please if you have the solution please let me know.

Full Example i’m trying to code

import { fetch } from 'wix-fetch';
import wixData from 'wix-data';
 
export async function getData() {

const apiKey = "apikey";
const id = "asdahdkjafhk65156"; //example value | but when i'm putting the right value it works for one but i'm looking to get database data for every repeater item with different values. I hope you understand

let id = wixData.get('#myDatabaseName', 'title'); //Not working after deleting const id above

//imaginary url example below
 const response = await fetch("https://www.exampleapi.com/data/d5/feed?&id=" + id + "&key=" + apiKey, {
        method: 'get'
    });