videobear flarum-bbcode.forum.quote.wrote42" is a long span for 3/4" material. Even bookshelves will tend to have shorter spans, and/or support for the shelves at least along the back edge, and probably on the front edge as well. A stiffening lip UNDER the shelf will do more to prevent sag than a ledge along the top edge of the shelf.
How's zat?? Easier, but stronger???