倫文敍自幼家貧,以賣菜為生。他勤奮好學,才氣橫溢,享負盛名。富紳胡員外欲招為女婿,派侍婢阿秀登門作媒。文敍拒絕胡家婚事,卻看上心地善良的阿秀,她也愛慕文敍的才華,兩人訂下終身。
文敍窮不奪志,三寶佛前妙對聯語,命官梁儲讚嘆他為飽學之士,金鑾應試中,皇帝也賞識其才華,最後更以智取勝,擊敗對手柳先開成為狀元。國太傳諭,新科狀元被招駙馬,
文敍不欲辜負阿秀,寧棄狀元,卻因此激怒皇帝。文敍慷慨陳詞,表明自己不願貪圖富貴,皇帝深受感動,欽准他回鄉完婚。
文敍高中狀元,衣錦還鄉,胡府以為他迎娶胡家千金,豈料竟是丫頭阿秀,文敍成人之美,撮合胡家小姐與新科進士梁二官成婚,他則與阿秀重結鴛盟,皆大歡喜
Lun Wenxu
Lun Wenxu was born into a poor family and makes a living by selling vegetables, but he is well-known for being studious and talented. Intending to marry his daughter to Wenxu, the wealthy Hu asks his maid, Ah Xiu, to pay the young man a visit to make a proposal. Wenxu declines but falls in love with the kindhearted maid, who also admires him for his talent. The two promise themselves to each other.
Poor but aspiring, Wenxu produces brilliant impromptu prose at the temple, thoroughly impressing the official Liang Chu. In the imperial palace, his talent further wins the emperor’s admiration. Finally, he outwits his opponent, Liu Xiankai, and becomes the highest-honored scholar of the state. The emperor’s mother orders him to marry the emperor’s daughter. Unwilling to betray Ah Xiu, he would rather give up his title than comply. Though enraged at first, the emperor is subsequently moved by Wenxu’searnest prose about his disdain of fame and fortune. He permits him to go home and marry the maid.
Seeing Wenxu returning in glory, Hu thinks that the top scholar has come to marry his daughter, only to find a happy maid. To make up for Hu’s disappointment, Wenxu makes a match between Miss Hu and Liang Erguan, the new successful candidate of the imperial examination. Wenxu marries Ah Xiu, to the satisfaction of all.