Marks all top level properties with @SharedImmutabble annotation in order to avoid error kotlin.native.IncorrectDereferenceException: Trying to access top level value not marked as @ThreadLocal or @SharedImmutable from non-main thread when calling markdown from background thread.
Configure additional test tasks for native targets to run code in the background (the same approach was taken by kotlin.coroutines project).
@SharedImmutabble
annotation in order to avoid errorkotlin.native.IncorrectDereferenceException: Trying to access top level value not marked as @ThreadLocal or @SharedImmutable from non-main thread
when calling markdown from background thread.