code: def _render_log():
      
      config = load_config(ROOT)
      definitions = config['types']
      fragments, fragment_filenames = find_fragments(
          pathlib.Path(config['directory']).absolute(),
          config['sections'],
          None,
          definitions,
      )
      rendered = render_fragments(
          pathlib.Path(config['template']).read_text(encoding='utf-8'),
          config['issue_format'],
          split_fragments(fragments, definitions),
          definitions,
          config['underlines'][1:],
      )
      return rendered
docs: Totally tap into Towncrier internals to get an in-memory result.