Here are the relevant images from this episode of Gimme That Star Trek!
Highlights from issue 16 (by Martin Pasko, Luke McDonnell, Gene Day, and Sal Trapani) and 18 (by J.M DeMatteis, Joe Brozowski and Sal Trepani):
The Enterprise crew versus trolls and goblins:
The garden gnomes to the rescue!
A goblin gets aboard ship. Look out Janice Rand!
Kirk turns the tables by wearing a different hat.
In issue 18, Kirk and Spock are kidnapped by a massive robot.
Gold Key comics swiped by Joe Bro:
Spock's answer to the no-win scenario:
A collection of covers from across the series:
"Star Trek Theme" by Alexander Courage, with the Irredeemable Shagg on vocals. End theme: "Deep Space Nine Theme" by Dennis McCarthy.
Bonus clips from: "Star Trek II: The Wrath of Khan" by Nicholas Meyer, starring William Shatner.