Drizin / CodegenCS

C# Toolkit for Code Generation (T4 alternative!)
MIT License
223 stars 30 forks source link

Issue #16: Multiline string indent control does not work #17

Closed loop8ack closed 1 year ago

loop8ack commented 1 year ago

As discussed in #16, here is the implementation of my two suggestions:

Public WriteRaw-Method

It simply calls the InnerWriteRaw method.

WriteRawSymbol

It writes the text using the InnerWriteRaw method. Use as follows:

return $$""
    return @"{{RAW(myMultilineString)}}"
    """;