Questions tagged [markup]

Markup covers various systems for annotating text with extra information which defines its formatting or appearance. Markup languages include HTML, XML, SGML, and markdown. The markup can typically only be seen when editing a document, not when viewing it.

Markup covers various systems for annotating text with extra information which defines its formatting or appearance. Markup languages include , , , and .

The markup can typically only be seen when editing a document, not when viewing it.

1350 questions
0
votes
2 answers

How can I add custom markup to TWiki?

At a previous place where I worked a colleague figured out how to configure MediaWiki so that, for example, a string like #12345 in the wiki markup could be expanded into a hypertext link to ticket 12345 in the ticket system. I would like to do…
dannyman
0
votes
2 answers

Is there a standard approach for parsing inline modifiers in Textile/Markdown

I've been looking at writing a Textile parser using Scala's parser combinator library (basically a PEG parser), and was wondering what kind of approach I should use for parsing the inline modifiers This is *bold* text, _italic_ text, +underlined+…
Li Haoyi
  • 15,330
  • 17
  • 80
  • 137
0
votes
3 answers

search contents of a div with multiple classes for a string nested in elements with jQuery

I would like to be able to look in the first span within a div with a class of t_links and buy and detect if the string Account appears. If it does then I want to set some tracking code in jQuery/JavaScript. There will always be one span within…
crmpicco
  • 16,605
  • 26
  • 134
  • 210
0
votes
3 answers

Why won't the official London 2012 Olympics website let itself be validated?

IN the spirit of Olympic build-up, I thought I'd cast a professional eye over the official website (http://www.london2012.com). YSlow reported quite a few 'F' grades so I thought I'd check the markup using the W3C Validation service…
immutabl
  • 6,857
  • 13
  • 45
  • 76
0
votes
1 answer

Divs not working as expected

I am trying to create the rows of controls. Basically it is for filtering a search. There are six controls in each row, 3 labels and 3 dropdownlists/textboxes. I have a div which creates rows and the first row turns out great but the rest is really…
eytanfb
  • 443
  • 4
  • 17
0
votes
0 answers

Taking a Telerik Control and reference it dynamically through an ajax request on server side and pushing new bounds?

With ASP controls, like Telerik Controls, you have the Serverside which is referenced and the markup sent to the client. I was trying to do something NEW with it. I have an ajax call which would return a json object of a MODAL. This modal will…
Fallenreaper
  • 10,222
  • 12
  • 66
  • 129
0
votes
2 answers

Tables in ASP.Net

I am making my first website with ASP.net and am having some trouble with the markup for formatting a table. I want to be able to have a user fill out a questionnaire. It is a multi-part questionnaire, so I'm using an accordion to conserve space. …
MCR
  • 1,633
  • 3
  • 21
  • 36
0
votes
3 answers

Drupal - Setting text field (for example) display to plain text doesn't remove field tags

I'm working on a Drupal site using the excellent Mothership to try and clean up the mess of code that Drupal normally outputs. It's a fantastic theme to use as a base if anyone is interested in trying to clean their markup up btw. Now I have a sub…
SpaceBeers
  • 13,617
  • 6
  • 47
  • 61
0
votes
1 answer

Is it possible to encode (asdf) in python Textile?

I'm using python Textile to store markup in the database. I would like to yield the following HTML snippet: (asdf) The obvious doesn't get encoded: (_asdf_) ->

(_asdf_)

The following works, but yields an ugly space: ( _asdf_) …
Edward Dale
  • 29,597
  • 13
  • 90
  • 129
0
votes
1 answer

Parse django template tag with custom filter for a live preview container via javascript

I need to create a live preview container (like stackoverflow and Reddit) for my django website using textile as my markup language. Is there a way to do it on the client side? (without using ajax?) Parsing the code from the view is as simple…
anonymous
  • 1,522
  • 14
  • 24
0
votes
2 answers

Coffeescript and markup based JS execution

From another thread here I found this great tutorial on markup based JS execution Garber-Irish solution: http://www.viget.com/inspire/extending-paul-irishs-comprehensive-dom-ready-execution/. I'm checking out how I can do parts of this in…
Rudi Starcevic
  • 645
  • 1
  • 11
  • 17
0
votes
2 answers

Jquery: table markup manipulation using .insertAfter

I have a standard table: I want to use jQuery to reformat the table, more specifically I want to add a closing tr and open a new tr within the tbody for the first td.. I can target it ok with the below jquery and the html is inserted but in the…
Iamsamstimpson
  • 1,359
  • 2
  • 17
  • 32
0
votes
2 answers

android: same width for buttons which equals to widest button

i have two buttons put in line inside layout. i d' like them to have the same width. but width of every button have to be equal the widest of them. now i use ViewTreeObserver. class LayoutListener implements…
DotNetter
  • 426
  • 2
  • 6
  • 19
0
votes
2 answers

How to make a document with code in it?

I'm trying to make a document that has both instructions in normal text and code snippets intertwined together. I would like it to look like a javadoc or a wiki page type format. Is there a language like LaTeX or a editor that does this? Thanks *If…
0
votes
1 answer

How to arrange/subdivide code into clear sections?

I'd really like to do divide my code into sections and subsections using a tree and/or headings. I'm currently working with php, and it would be so nice if I could make a comment flag heading of 22px saying "Generator Section" and then two…
Suzy
  • 75
  • 6