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
0 answers

Is a specific Doctype ever required?

Topic title is the question really. Is a specific DocType ever required? If so, in what situation(s)? I'm designing a jQuery slideshow script for a Wordpress plugin with quite a large user base. As a result, it needs to be designed to work with a…
Matthew Ruddy
  • 905
  • 4
  • 17
  • 31
0
votes
1 answer

jquery html markup validator

I am trying to find a jquery plugin that can validate html markup (which checks whether the html markup is proper or not). Here's how I intend to work. I enter the html string in textarea and the jquery plugin must validate whether the tags are…
Gagan
  • 4,278
  • 7
  • 46
  • 71
0
votes
1 answer

Jquery Mobile & Data roles: Is it bad practise to use data attributes

In jQuery Mobile, you have to apply data attributes to your HTML so jQuery Mobile knows what to do with it. For example, if you wanted a link to have slide transition, you would do the following: This seems…
big_smile
  • 1,487
  • 4
  • 26
  • 59
0
votes
2 answers

Building elements with nested content using jQuery

I use the following to create objects in JavaScript using jQuery: var article_attrs = { 'class' : 'class-name', click : function_name, hover : function_name, html : $('

', { html : "Heading" }) }, article…

Alex
  • 8,353
  • 9
  • 45
  • 56
0
votes
2 answers

Windows Phone xaml markup

Is there XAML solution for this sample? I'm interested in part where fullname and little dot are shown. Particularly, I can't make little dot to be right after fullname if fullname has enough space (first item). Now, I have this, but it's not…
Buddy
  • 89
  • 6
0
votes
1 answer

Building href dynamically using value from an ASP control

I'm trying to render an element's mark-up using asp controls while avoiding using code-behind. So I want to dynamically generate the href property to include what is rendered from a FieldValue control (SharePointWebControls). So for example this…
user1017882
0
votes
1 answer

How to add my language to github markup library?

According to github/murkup's README, it's available to add comstomed markup language on Github. https://github.com/github/markup Markdown is really clumsy to use for simple projects. I just want a markup language which supports "bold", 'inline…
jiyinyiyong
  • 4,586
  • 7
  • 45
  • 88
0
votes
2 answers

Are there any standards for markup like the one that SO site uses?

I will like to design/develop a formatting markup for an application that we are developing. Is there any standard on this like what StackOverflow uses when writing each question description.
Geo
  • 8,663
  • 13
  • 63
  • 93
0
votes
2 answers

How to convert between two types of document markup with regex in C#?

I am trying to convert between html-style markup such as bold and italics into my own custom markup format: Bold word ---> * Bold word * So the bold tag is converted to wrapping stars, etc. Whats the easiest/best/fastest way to do this?…
bluebit
0
votes
1 answer

ASP.NET GridView with DataBinding: toggle column visibility

I've got an ASP.NET GridView bound to an ObjectDataSource where columns are not automatically generated. Now I want to display one row (containing the link to the edit-page) based on the permission of the user. I've got an method which does all the…
Carsten
  • 11,287
  • 7
  • 39
  • 62
0
votes
2 answers

Simple CakePHP text markup solution for editing news posts

When first searching the web for a simple CakePHP way to convert small news posts (written by a non-technician) I found the flay method in TextHelper. However it turned out that it has been deprecated, referencing to TextileHelper w/ SmartyPants.…
joelpet
  • 4,869
  • 3
  • 21
  • 17
0
votes
1 answer

Content sliders: valid usage for tables, lists, etc

Content sliders, like bxslider or Bootstrap's carousel, use divs to define slides. This is great for images and many other elements but it doesn't make much sense for things like lists or tables (and probably more). List example…
Adam Lynch
  • 3,341
  • 5
  • 36
  • 66
0
votes
4 answers

js/jQuery moving label values to defaults

I want to use jQuery/js to do the following: Get the values of the labels of form inputs Put those labels as values in the inputs themselves Hide the labels Pretty straightforward. Since I don't want to have to type out $('firstname…
beth
  • 1,916
  • 4
  • 23
  • 39
0
votes
5 answers

Looking for lightweight document description language for printing

I'm looking for a very lightweight document description language, which can be easyly parsed in C. The purpose is printing of small documents or labels similar to cash register receipts. I need only basic formatting features for font settings,…
dickens
0
votes
1 answer

Display a list with hyperlink in Python template

I have a list of users. And i want to display it in template: {%- for user in listed_of_users -%}

{{ user.name }}

{%- endfor -%} i want to create hyperlink link to user's profile for each user using predefined function…
AgainstPIT
  • 411
  • 4
  • 14