anru/rsted — Issue #7: edit multiple rst require change the browser tab's title
Author: dlintw
Created: 2011-10-27 00:44:31+00:00
State: open

I like this editor. I'm wonder if it possible to change browser's tab title for the rst content. (I use chrome)

The simple algorithm for show correct title is:

if first_line.prefix == ".. contents::" then
show the rest part of first line
else if first_line.prefix == "==" then
show 2nd line
else
show first line