South Africa took advantage in a big way after being given first use of the pitch.
Markram will be an onlooker from the pavilion, and while no doubt irked by falling three runs shy of a memorable start-out century, chuffed also to have contributed to the Proteas' beefiest opening stand (196) in nearly a decade.
The declaration caused a problem for Bangladesh because regular opener Tamim Iqbal had been off the field towards the end of South Africa´s innings, which meant he had to wait for 48 minutes before he could bat.
The 22-year-old came three runs short of becoming the seventh South African to score a hundred on debut, but was involved in a mix-up which led to his run-out on 97 and the end to a fairy tale start to worldwide cricket.
South Africa's Dean Elgar became the latest batsman to experience the anti-climactic feeling when he was dismissed for 199 during the first innings of the opening Test match against Bangladesh at the Senwes Park in Potchefstroom.
Elgar, who made 199, said: "We are in quite a strong position but our bowlers didn´t really hit their straps, especially with the new ball".
Markram, 22, was looking nearly as imperious as a commander on the bridge of his frigate approaching home port at triumphant war's end, when a fatal blemish in communication with his more seasoned partner and Titans franchise ally Dean Elgar saw him cruelly undone for 97. Maybe if I got 200, I would have said to him that was for you, but I know that's not going to change anything. I told him at tea that he needs to kick on for the team's sake, that is all that matters.
"He [Elgar] was extremely upset". It's sad and makes yourself scratch your head and wonder why you play the game. Dean and I have come a long way, we've developed a good friendship as well. "He has put himself in a great position to do so".
Elgar, who resumed unbeaten on 128, passed his previous best of 140 and continued to 172no at lunch at Potchefstroom.
There is precedence, however, of such a tactic being used by Du Plessis to wrong-foot the opposition - he did the same to Australia opener David Warner in the day-night Adelaide Test in November 2016.
He focused on rotating the strike to assist Elgar, who suffered a scare when an attempt to crunch a shot over the leg side turned into an edge into space behind for three runs. Amla took the fewest innings among the three to score his 27th ton - 184. "I'm incredibly happy for him for scoring another hundred", Markram added. He has a very hard personality, he is a proper fighter as we have all seen.
Elgar has joined a list which includes Lokesh Rahul, Mohammad Azahruddin, Ian Bell, Steven Smith Younis Khan, Steve Waugh Sanath Jayasuriya, Matthew Elliot and Mudassar Nazar.