There wasn't too much pressure on him or Elgar even from early on, given that before they had amassed 30 runs together they had already posted the best tally for the first wicket in 14 attempts by South Africa.
Left-hander Elgar was on course to convert his opening-day ton into a double before he miscued a short ball from Mustafizur Rahman to midwicket on 199.
Elgar became only the 12th batsman in Test history to be either dismissed or stranded on 199.
South Africa's innings lost steam after his exit halfway through the middle session, before Faf du Plessis opted not to bat on after the tea break and declared.
Elgar and Amla's contributions saw South Africa declare on a mammoth total of 496.
Pakistan's Mudassar Nazar inaugurated the 199-run club by becoming the first batsman to fall one run short of the 200-mark, during the 1984 Faisalabad Test against arch-rivals India. Elgar calmly moved into the 190s, but as he edged closer, nerves took over. The skipper scored a 57-ball 44 with seven fours and a six but Bangladesh probably needed more than that and the 67-run third-wicket stand with Mominul.
As Mominul completed a simple catch, a heart-broken Elgar trudged off towards the dressing room amid congratulatory gestures from the Bangladesh players, bringing to an end a superb effort that had lasted over nine hours. Opener Tamim Iqbal was off the field nursing an injury.
Liton looked more comfortable against the short ball, twice pulling Morne Morkel easily.
Das played well for his 25 but reached at a Morne Morkel delivery and nicked it to Amla in the slips. Mushfiqur began with a boundary through point and Mominul pulled Rabada twice the following over. "If we can squeeze them then I'd like to think we have enough in the tank to roll them early tomorrow and potentially have another crack with the bat". But on both occasions, Elgar dropped straightforward chances. He eventually fell to Maharaj. The skipper hit a few more cut shots and a trademark slog-swept six off the unlucky bowler, but Maharaj had his revenge in the 26th over when Mushfiqur's defensive prod took the edge onto his front pad and was caught at short leg.
But if Markram feels a little compensated by the news that he and Greenidge share that dismissal nature on first-time Test appearance in the 90s, there is potentially further heart for him to take.
Tamim ended the day with positive intent by hitting left-arm spinner Keshav Maharaj for a huge six over long on off the last ball of the day.