Fixes markdown detection, improves logging, cleans up variable setting
Fixes markdown detection, improves logging, cleans up variable setting

fredzannarbor/pagekicker-community,fredzannarbor/pagekicker-community,fredzannarbor/pagekicker-community,fredzannarbor/pagekicker-community,fredzannarbor/pagekicker-community,fredzannarbor/pagekicker-community