A sample project isn’t necessary, because I wouldn’t know what code to put in the sample project because my question is asking about how to start the code.
I fixed it. The issue was I didn’t have quotes (“) around the @Html.Raw. It seems like a simple fix and I’m confused as to why this was not mentioned to me earlier.