Detect the kind of summary (automatic or manual)

Here is an alternative suggested by Bep. It uses .Contains to test the presence of the more tag: Detect if a more tag is in the markdown