You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: markdown.go
    path of file: ./repos/osmedeus/core
    
    the code of the file until where you have to start completion: package core

import (
	"path"

	"fmt"
	"os"
	"regexp"
	"strings"

	"github.com/fatih/color"
	"github.com/j3ssie/osmedeus/libs"
	"github.com/j3ssie/osmedeus/utils"
	"github.com/spf13/cast"

	"github.com/gomarkdown/markdown"
	"github.com/gomarkdown/markdown/html"
	"github.com/gomarkdown/markdown/parser"
)

func (r *Runner) GenMarkdownReport(markdownFile string, outputHTML string) {
	utils.DebugF("Reading markdown report from: %v", markdownFile)

	// get the markdown template content
	mdContent := utils.GetFileContent(markdownFile)
	mdContent = ResolveData(mdContent, r.Target)

	// replace all the <scanInfo /> tag
	mdContent = r.ResolveScanInfoTag(mdContent)
	// utils.DebugF("ResolveScanInfoTag:\n%v", mdContent)

	// replace all the <reports /> tag
	mdContent = r.ResolveReportsTag(mdContent)

	// replace
    
func (r *Runner) GenMarkdownReport(markdownFile string, outputHTML string) {
	utils.DebugF("Reading markdown report from: %v", markdownFile)

	// get the markdown template content
	mdContent := utils.GetFileContent(markdownFile)
	mdContent = ResolveData(mdContent, r.Target)

	// replace all the <scanInfo /> tag
	mdContent = r.ResolveScanInfoTag(mdContent)
	// utils.DebugF("ResolveScanInfoTag:\n%v", mdContent)

	// replace all the <reports /> tag
	mdContent = r.ResolveReportsTag(mdContent)

	// replace all the <content /> tag
	mdContent = r.ResolveContentTag(mdContent)
	// fmt.Println("mdContent", mdContent)

	// generating the markdown file first
	outputMD := strings.Replace(outputHTML, ".html", ".md", -1)
	utils.WriteToFile(outputMD, mdContent)

	utils.InforF("Generate markdown report: %v", outputMD)
	utils.InforF("Generate HTML report: %v", outputHTML)
	// finally convert to HTML
	MarkDownToHTML(r.Opt, r.Input, outputMD, outputHTML)
}