set {theButton, tagStr} to (display dialog "Enter the HTML Tag that should surround the lines of the selection." & linefeed & linefeed & "Use <ol>/<ul> to create complete lists. This command also supports some Markdown syntax for links, images, lists and headlines:" & linefeed & linefeed & "Line = URL:		[()  •  []()  •  ![()  •  ![]()" & linefeed & "Line = Text/Alt:	[](  •  [])  •  []  •  ![](  •  ![])  • ![]" & linefeed & "Lists/Headlines:	-  •  *  •  1.  •  2.  • 3. …  •  #  •  ##  •  ### …  •  - [x]" default answer defaultTagStr with title (name of me) buttons {"Cancel", "Surround trimmed Lines", "Surround Lines with Tags"} default button defaultButton cancel button 1) as list